Commit Graph

40 Commits

Author SHA1 Message Date
Sarjuuk
972a7f241e Misc/Fixes
* cast GET-params to lower case
 * fixed typo in constant name
 * fixed scope issue when aggregating sql stats
2018-12-02 19:22:21 +01:00
Sarjuuk
d9cd24026c PHP/Core
* enforced v7.1 compliance, preparations for v7.2
 * removed deprecated usage of each()
 * prefer array deconstruction via [] instead of calling list()
 * try to catch failed session_start()
 * prefer ... - Token instead of calling func_get_args() func_num_args()
 * enforce return types in AjaxHandler
 * revision push
2018-11-29 00:45:19 +01:00
Sarjuuk
f8a34aa98e Account/Cookies
* fixed saving cookie-data to account
 * e.g. announcements shouldn't pop up again if you close them once
2018-11-27 00:01:06 +01:00
Sarjuuk
e0150feda6 implemented type areatrigger
* staff only
2018-07-16 21:08:18 +02:00
Sarjuuk
adc1273b08 Ajax/Debug
* 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
2018-05-26 21:02:19 +02:00
Sarjuuk
93a72013b8 Reports
* added timestamp column to db table
 * consolidated write operation
 * fixed storing reports when get_browser() would return empty
2018-05-26 15:59:01 +02:00
Sarjuuk
45f325a0fa Admin/WeightPresets
* removed redundant code
 * fixed empty scales not being written to dataset as expected
2018-05-13 12:41:54 +02:00
Sarjuuk
808bbcc2fd Profiler/Profiles
* do not display deleted custom profiles in their parent profiles quick info
2018-04-28 12:03:52 +02:00
Sarjuuk
e50333a518 DB/Favorites
* implement favorites for DB entries
 * click on the star besides the name of the entry to add it to a new quick menu
2018-03-30 19:22:45 +02:00
Sarjuuk
0912248fd5 Misc/Typos 2018-03-29 18:59:09 +02:00
Sarjuuk
fab71f9325 Misc
* don't cache playlists
 * don't cache new custom profiles
 * forgot to sanitize and use param from js
2018-03-29 14:40:46 +02:00
Sarjuuk
22d02378ef Config/Profiler
* update config to enable/disable profiler in general, instead of just the queue
 * regenerate affected files on config change
2018-03-27 12:41:32 +02:00
Sarjuuk
3fd25ca889 Profiler/Backend
* added core functions nessecary for profiler
2018-03-22 17:36:28 +01:00
Sarjuuk
fbcf00e0fc Profiler/Filter
* implemented flag options when searching for strings
2018-03-22 14:45:26 +01:00
Sarjuuk
3303722bc7 Profiler/Prep:
* misc changes from profiler branch. No real changes on its own
2018-03-22 13:59:30 +01:00
Sarjuuk
7b7ec2d0aa Admin/siteconfig
* also rebuild js-locales when updating available locales
 * somewhat unhappy with the access to generated files. need to find a better solution.
2017-05-09 19:11:47 +02:00
Sarjuuk
9c6a789d2b Admin/config
* added onUpdate handler to rebuild affected files
2017-05-07 18:40:45 +02:00
Sarjuuk
39e917927f Adomin/Config
* urlencode values or loose data on submit
2017-05-06 12:43:00 +02:00
Sarjuuk
8248dad50a Misc/Errors
* fixes some notices from log
 * fixed error when handling cookies
2017-04-29 19:49:46 +02:00
Sarjuuk
959d0ace0b ListPages/Filter
* vastly improved input validation
 * content and type validation occurs when filter is created
 * contextual filters like itemTypes are now only applied in context
2017-04-23 20:20:34 +02:00
Sarjuuk
a695a4188c Util/Game
* cleanup Util 2/2
 * move game related functions and variables to new class: Game
2017-04-19 01:47:03 +02:00
Sarjuuk
0fc006d2d4 Contribute
* added option to hide contribute tabs depending on subject (screenshots for sounds .. yeah, right)
2017-03-29 03:24:28 +02:00
Sarjuuk
00de81c60d Errors
* try to die a bit more gracefull if errors occur
2017-03-21 10:43:31 +01:00
Sarjuuk
f0231c8d9f SiteConfig
* always place newly added php-configurations in the misc-category
2017-03-19 23:54:54 +01:00
Sarjuuk
e1fd2db64d Admin/Screenshots
* restrict ability to irrevocably delete files to U_GROUP_ADMIN
Pages/Quests
 * be a tad more lenient when filtering excessive sources
2017-03-13 15:37:43 +01:00
Sarjuuk
a48f30e8a4 Misc
* edited example in README.md to be more clear
 * fixed a typo in RedButton template.
 * fixed a typo in comment ajax. Can now use sticky again.
 * fixed a logic error in comment reply js. do not line break image sources.
2017-03-09 02:21:08 +01:00
Sarjuuk
3b1bcfe1a5 Fixup
* added missing brackets from copypasta-disaster
2017-02-25 18:39:16 +01:00
Sarjuuk
da59440106 Fixup
* 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
2017-02-24 18:45:36 +01:00
Sarjuuk
83cc16107e Whoops
* partially revert 99760d7c72
 * fixed another type on quests list page
 * added default cases for empty data to pets and races list pages
 * improved typelist iterator to be recursively callable
2017-02-23 19:46:15 +01:00
Sarjuuk
99760d7c72 Screenshots
* aproving a screenshot now flags the corresponding db entry as having a screenshot
 * deleting & moving screenshots works equivalent
 * instancing a new TypeClass without parameters no longer grabs everything from the corresponding tables ( pass a "[true]" to retain this behaviour)
 * retroactively flag db entries for having screenshots
 * fixed a typo
2017-02-23 16:30:58 +01:00
Sarjuuk
ffddd3c6b8 User/Weightscales
* saving now always updates the name
 * name is now urldecoded
2017-02-12 03:56:38 +01:00
Sarjuuk
ca0e57b99c Libs/jQuery
* updated to 1.12.4 (plus compatibility changes in affected javascripts)
 * fixed double escapes on featuredbox text
 * fixed rogue whitespace
2017-02-11 15:38:55 +01:00
Sarjuuk
c75777e5c3 Misc/Fixups
* added forgotten mapper strings for esES, ruRU, frFR
 * readded default name for screenshots and videos tab
 * fixed referencing not set $id in opensearch (wich now displays icons once again)
 * fixed referencing a long removed variable in admin=screenshots, preventing delete operations
2016-03-23 22:14:15 +01:00
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