Commit Graph

50 Commits

Author SHA1 Message Date
Khaled Garbaya
14ce69ff19 fix: no more duplicate error messges (#71)
* fix: Fix middlware order

* fix: Remove console.log

* feat: Uniq error meassages
2017-11-15 16:36:23 +01:00
David Litvak Bruno
1515d09dc2 Refactor entry state toggle (#48)
* chore(editorialFeatures): extract editorial features toggle

* chore(refactor): rename function to make more contextual sense
2017-11-09 11:24:07 +01:00
David Litvak Bruno
81577c82fd Enhance Breadcrumbs (#39)
* chore(localization): remove duplicated locale files

* feat(localization): add localization for breadcrumbs

* feat(localization): add beadcrumb enhancements

* feat(debugging): add npm run debug command

* chore(localization): add unit tests

* chore(breadcrumbs): fix tests and typos

* chore(localization): add docs for translationAvailable

* chore(localization): refactor translationAvailable
2017-11-08 15:39:24 +01:00
David Litvak
68a8052bdf feat(localization): add localization for static strings 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
751b8aaf7f refactor(routes): remove unused categories route files 2017-11-07 17:33:32 +01:00
Khaled Garbaya
9f61d33500 fix: Adds courses/categories route 2017-11-07 17:33:32 +01:00
JP Wright
cdb0a07ff7 Make changes to code to improve readability 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
7ad2c1fa4f refactor: Cleanup (#21)
* refactor(routes): remove unused sitemap route

* style(comments): enforce consistent comment style

* style(exports): enforce consistent export style

* chore: Add jsDoc for contentful service

* chore: Add jsDoc for contentful service \n \n closes #23

* refactor(app): move query parameter comment to right position and mention comment route middleware

* test(npm): add temporary test script

* refactor(middlewares): split up bootstrap middleware - fixes #23759

* refactor(cookies): use constances to give context the maxAge cookie setting

* refactor(variables): use more descriptive names for variables

* space became spaceId when it was just the id not the full space instance
* all (access) token variable name variants became [api-type]Token
* all clients are now called deliveryClient or previewClient
* cpa and cda only remain when they are used as actual API id
* env variables names adjusted

* perf(helpers): only run marked when content is not empty

* refactor(comments): fix typos

* refactor(comments): add hint why error is logged to console in settings

* chore: Add comments to routes and services

* refactor(requires): order and group requires

* fix(settings): add validation for wrong preview token

* chore: Add comments to routes

* chore: fix typo

* chore: console.error -> throw

* chore: move cookie name to a constant

* chore: Fix app.js comment

* typo: removing t

* chore: typos

* chore: removed unnecessary comment line sign

* chore: newline for readabillity

* chore: remove dangling `t`

* chore: remove `t`, add `l`

* chore: typos

* Fleshed out title

* build(npm): remove unused dependencies

* build(npm): upgrade to latest stable contentful sdk

* chore: Addressing David feedbak

* fix(credentials): update to match the new space

* chore: Addressing code review comments

* chore: Addressing code review comments

* chore: res -> response, req-> request

* chore: include exactly what we need

* chore: Address JPs comments

* chore: Address JPs comments

* chore: Address Fredericks comments

* chore: Address Fredericks comments

* fixup! chore: Address Fredericks comments

* fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! fixup! fixup! fixup! chore: Address Fredericks comments
2017-11-07 17:33:32 +01:00
Mario Bodemann
730ce24cc9 chore: capitalise comments 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
5ddccf27d2 fix(settings): show correct space name and fix other small issues 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
c35c8983b1 feat(imprint): add imprint 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
fd52efd625 feat(entry-states): display entity state for editors 2017-11-07 17:33:32 +01:00
Khaled Garbaya
46fd1f6d00 fix: Fix category listing 2017-11-07 17:33:32 +01:00
Khaled Garbaya
8549de7647 refactor: getCourse comments 2017-11-07 17:33:32 +01:00
Khaled Garbaya
a91e46d70b refactor: refactor home and about routes 2017-11-07 17:33:32 +01:00
Khaled Garbaya
1e94188333 refactor: refactor routes 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
240e008a87 feat(editors): add editorial features aka the configurable edit link 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
bf50c66df4 feat(settings): display connected space name 2017-11-07 17:33:32 +01:00
Khaled Garbaya
703a5e4d3a chore: change Comments 2017-11-07 17:33:32 +01:00
Khaled Garbaya
9ddc4686d4 fix: Make the cookie last for a year 2017-11-07 17:33:32 +01:00
Khaled Garbaya
f61c13d02e fix: Fix previw/delivery switch 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
bb1cdcc3f6 feat(controls): styled custom header dropdown with helptext and smart positioning (#13) 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
a1bcd913bf fix(title): use correct title for landing pages 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
7e49f18db1 fix(routes): avoid 404 by duplicating course route 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
d286a7f475 transform about into a landing page and generalize code (#12) 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
31ff2d3006 several adjustments based on Malin's feedback 2017-11-07 17:33:32 +01:00
Khaled Garbaya
64f59e203d feat(Errors): Add global error handling 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
6430a2c849 style forms and add form validation and form status block 2017-11-07 17:33:32 +01:00
Robert Linde
ba1d442f73 Fix some spelling errors 2017-11-07 17:33:32 +01:00
Robert Linde
f014c76e81 Change category filter to use slug instead of sys.id (#6)
* Change category filter to use slug instead of sys.id

* Add slug to module and card
2017-11-07 17:33:32 +01:00
Robert Linde
58d7e87325 Add styles for hover and visited for table of contents
* Add styles for hover and visited for table of contents

* Add cookie based handling of visited table of content links
2017-11-07 17:33:32 +01:00
Khaled Garbaya
0c2c060acb feat(handlers): Add error handling for settings page 2017-11-07 17:33:32 +01:00
Khaled Garbaya
67fc0edf62 feat(handlers): Add generic error handler 2017-11-07 17:33:32 +01:00
Robert Linde
01fd3cc9b3 Fix some spelling errors (#5) 2017-11-07 17:33:32 +01:00
Mario Bodemann
e773c8b32d rename university to the app. (#4) 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
71c0c0e95a course detail styling and basic lesson module styling 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
60d2c02ce7 fix courses list filtering and titles 2017-11-07 17:33:32 +01:00
Khaled Garbaya
713f554609 fix(mixins): Add locale/api and active link 2017-11-07 17:33:32 +01:00
Khaled Garbaya
07c5cc77b0 fix(course): fix non resolved lessons 2017-11-07 17:33:32 +01:00
Khaled Garbaya
5e23150a5f feat(layout): Add titles 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
1875c99a4c add CTA's 2017-11-07 17:33:32 +01:00
Khaled Garbaya
200a8ae2f1 feat(courses): Add Categories listing 2017-11-07 17:33:32 +01:00
Khaled Garbaya
0c66b6678c feat(courses): Add Landing Page content modules 2017-11-07 17:33:32 +01:00
Khaled Garbaya
e2ceb39e83 feat(courses): Add lessons 2017-11-07 17:33:32 +01:00
Khaled Garbaya
6c7ab31305 feat(courses): Add course list 2017-11-07 17:33:32 +01:00
Khaled Garbaya
354df3c4b4 feat(settings): Save settings in cookie 2017-11-07 17:33:32 +01:00
Khaled Garbaya
3373ff282d refactor: Change views 2017-11-07 17:33:32 +01:00
Khaled Garbaya
dc3e8628f3 refactor: es6 all the things! 2017-11-07 17:33:32 +01:00
Khaled Garbaya
d1d580f288 feat: Add views and routes 2017-11-07 17:33:32 +01:00
Khaled Garbaya
02f7c2ce41 chore: Initial commit 2017-09-19 14:19:31 +02:00