* split Screenshot upload & management into separate endpoints
* move shared functions to manager classes
* cleanup javascript
* move test for config screenshot min size to cfg class
* redo page render following the logic of:
Response ─┬─> TextResponse ─> TextResponseImpl
└─> TemplateResponse ─> TemplateResponseImpl
* split up giant files, one per response path
* caching becomes a trait, implemented where necessary
* TextResponses (Ajax) can now be cached
* make use of previously defined php classes for js objects
* Tabs, Listview, Tooltip, Announcement, Markup, Book, ...
* \Aowow\Template\PageTemplate is the new class to be cached
* do not discard error messages generated after vars have been sent to template
and store in session for display at a later time
* implement tracking consent management
* move logic out of template into their respective endpoints
* convert configuration from list of constants to object
* fixes config changes not applying on cli whithout closing and reopening again
* config variables are no longer embedded in localization text
* fixed misc issues Intellisense was nice enough to highlight.
* mostly deprecated usage of uninitialized parameters
* class GenericPage still needs a long, hard look and a refactor
* be a lot more verbose when errors are occuring (to staff anyway)
* made hardcoded error messages for comments localizable
* add error messages from posting comments to session to be displayed on next page update
* added support for locale 4
* some strings are missing and will need to be translated at a later date
* thx @qyh214 for a lot of content
Co-authored-by: qyh214 <sandy0214qin@msn.com>
* access class property in screenshot/comment-admin by function. Aowow is compatible with PHP 5.5 again
* changed line-endings across the board from \r\n to \n
* reworked upload process to be more user-friendly
* handle bricks that consist mostly of localized text separately
* added handle to display errors, when adding CommunityContent on the page they originated from