Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS back office #1

Closed
schambon opened this issue Jun 23, 2014 · 3 comments
Closed

CMS back office #1

schambon opened this issue Jun 23, 2014 · 3 comments

Comments

@schambon
Copy link

Create a simple back office to let administrators edit the content (and view missing translations) - ideally with a split-screen UI whereby content managers enter Markdown content and have a live rendition on a second pane.

@mkalam-alami
Copy link
Contributor

Question: Is the backend supposed to support the same languages as the frontend? For the moment I've copy/pasted language code from the front app, if we have the same need I guess we could refactor such code to portal-core.

Also, in a development environment, running both Jettys at the same time will lead to issues (overriden cookies => CSRF errors) when browsing both apps through the same domain (e.g. localhost).

@schambon
Copy link
Author

There's an enum of portal-supported constants in portal-core: OasisLocales. It's not very handy so could be refactored, but at least that's the full list of the languages we're supposed to support at present.

As per the other problem, I guess the easy way out is to use a reverse proxy, /etc/hosts and virtual hosts (so we can bind www.ozwillo.local to the portal and admin.ozwillo.local to the backoffice). That has the advantage of being very nearly the production configuration.

@mkalam-alami
Copy link
Contributor

Done with the following limitations:

  • The pages are currently on a single level, and the UI is not really scalable to support lots of pages.
  • The "missing translations" badges are currently computed with a findAll() call (bad performance)
  • No leverage of "th:fragment" to improve performance

bobeal added a commit that referenced this issue Jul 27, 2018
- Remove and migrate uses of Authority model class (duplicate)
- Remove unused code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants