Commit Graph

56 Commits

Author SHA1 Message Date
Sarjuuk
24d683332d Profiler/Completion
* fix partial loading of quests in profiler
 * provide inital category totals on a per class & race basis
2023-06-08 13:45:55 +02:00
Sarjuuk
9c8656f4b5 Admin/Guides
* log approver / time as intended
2023-04-18 15:45:01 +02:00
Sarjuuk
0c47f262ea Userdata
* replace input filter FILTER_UNSAFE_RAW (+ STRIP flags) with regex checks to preserve \n and utf8 chars
2023-04-13 17:07:59 +02:00
Sarjuuk
c0e9159c1e Misc/Fixups
* colAddins should be null if not in use
 * fix index warnings in search + profiler
 * cast url param 'locale' to int for all uses
 * fix breadcrumbs for sounds page
 * fix determining actionOwner for SmartAI
2022-06-10 13:58:13 +02:00
Sarjuuk
8425eeb685 Reports
* move related functions to separate class
 * implement out of date comment handling shorthand
 * implement admin interface to work with reports
   - listing based on user group
   - assign to self / unassign from self
   - close with reason
   - comment functionality
   - reward reputation to creator based on resolution
2022-04-05 15:45:56 +02:00
Sarjuuk
b890d6504e Guides: initial implementation
* a guide is a wrapper around an article providing management tools.
 * administration is limited to the review process. Needs to be expanded.
 * articles on DB pages are seperate. Editor will be added in the future.
2022-03-22 15:43:39 +01:00
Sarjuuk
33a870ef78 Structure/Types
* move distributed constant values to object
 * move reused iterators and checks to object
2022-03-22 15:05:50 +01:00
Sarjuuk
e109a6deed Siteconfig/Email
* make hardcoded email configurable
2022-03-22 14:59:45 +01:00
Sarjuuk
4972cc0faf POST/GET
* unify accessing &_GET and &_POST data
2022-03-17 13:47:48 +01:00
Sarjuuk
53e2af2116 Profiler/Localization
* support non-latin realm names
 * actually set characters as updated after resync was skipped due to character not having logged in since last resync
2022-02-14 16:04:57 +01:00
Sarjuuk
57864d2544 PHP8/AjaxHandler
* filter callback function must be defined static
 * fixed some typos
 * fixed commentbody filter callback eating \n chars
2021-10-24 19:23:53 +02:00
Sarjuuk
3e24814518 README/Conf
* check for presence of lib GMP when trying to enable TC auth
 * also added missing requirement to README (thx @jackpoz for reminding me)
2020-08-03 22:11:05 +02:00
Sarjuuk
8741c7479f Misc/Fixups
* vehicle accessories now get moved with their vehicle
 * try to account for multilevel zone offset nonsense
 * fixed some more typos and unaccounted null cases
2020-05-27 15:27:13 +02:00
Sarjuuk
62acd541b2 Maps/Spawns
* Entities (Objects, NPCs, ect) can now easily be assigned to a different map to be displayed on by clicking their pip on the map
 * Entities with already assigned area (by TrinityCore) that were unable to be matched onto the map are no longer discarded. They'll now show up in appropriate listviews.
 * Entities without already assigned area that are also unable to be matched onto the map now get an area assigned as long as the relationship areaId <=> mapId is unique (read instanced areas)
2020-05-26 21:11:15 +02:00
Sarjuuk
6cabfd3864 Misc/Cleanup
* moving commonly used strings to defines
 * moving commonly reused/similar page generation functions to the parent
 * generally using consistent return types, more type hints and less strings
 * prevent browser context menu when right clicking on UI elements with their own context menus
 * fixed menu path for icons
2020-05-24 15:04:42 +02:00
Sarjuuk
0f9a3e8cb6 Profiler/Custom
* fixed deleted profiles counting towards the user cap of 10
2020-04-05 12:31:59 +02:00
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