Commit Graph

7 Commits

Author SHA1 Message Date
Sarjuuk
e80015a7cd Weight Scales/Presets:
* moved wt_presets to DB
 * scales are now saved sensibly instead of just being dumped as is (also, tables have now constrains)
 * added admin=weight-presets to edit presets
 * added an internal user on id:0 who 'owns' the wt-presets and the +1 rates on new comments
 * consequently added constraints to comment-related tables

Misc:
 * Util::toJSON() priorizes its flags over CFG_DEBUG, wich fixes the modelviewer-redButton
 * moved terrible javascript-dump from admin-page to template
2016-03-12 14:05:39 +01:00
Sarjuuk
fe7f05c89c Comments/rating
* do not include the +1 every comment starts with in the distribution and preview
2016-02-06 21:18:02 +01:00
Sarjuuk
7c1e61d843 Admin/Config
* fixed calling $this in static context (broke web-config)
2016-01-31 22:35:27 +01:00
Sarjuuk
99eb8f426b Misc/Fixes
* fixed typo preventing management of custom weight scales
 * added forgotten GET-Parameter to sanitization, preventing rating of comments
 * avoid hardcoding locales
 * do not show tooltip on BUTTON_WOWHEAD
2016-01-13 20:58:06 +01:00
Sarjuuk
4daf474ff4 Admin/AjaxHandler
* removed rogue \s, which prevented handling of id-lists
 * affected mass handling of screenshots and comments
2015-12-06 11:21:38 +01:00
Sarjuuk
f01c624f82 Comments
* do not double escape chat message body
2015-12-05 20:33:25 +01:00
Sarjuuk
99fdad29dd AjaxHandler
* separated into appropriate subclasses
* unified sanitizing of $_GET and $_POST data using build in filter_input()
* index now always tries to resolve page calls with ajaxHandler first and as a page last

minor bug-fixes to bugs that wre not reported yet, because they didn't occur yet
(e.g.: nobody tried to compose a comment with >7500 characters yet)
2015-11-08 23:14:17 +01:00