Commit Graph

45 Commits

Author SHA1 Message Date
077a5e7727 fix php8.2 warnings 2023-02-19 11:24:33 +00:00
5a64e8729b nits 2023-01-11 11:15:26 +00:00
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
d79430be1e Edit sort by Categories
Sort by the number of tags (sum) for each category descending
This will allow the most used categories to appear first and not by alphabetical order
2021-07-26 12:26:47 +01:00
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
1c216e8d51 formatting 2020-06-24 12:44:35 +01:00
a2fe0725f5 extra credit for Tag EditCloud 2020-06-22 18:14:07 +01:00
549ec593bb Tag EditCloud: Added category sorting and grouped tags.
This change implements a simple category-based alphabetical sorting system that puts all tags containing ':' in front of general tabs. It also groups them together for easier styling into columns, grids, or even opening the door for drop-down categories in the edit menu. A much needed feature for me since I have hundreds of tags and I manage them all by my own.
2020-06-14 05:32:53 -03:00
ac1076b3f3 don't use string concatenation for sql 2020-01-28 00:49:51 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
f078b283bd pull a bunch of small fixes from #659 2019-06-14 13:16:58 +01:00
bf473f6d51 more lint fixes 2019-05-29 18:23:29 +01:00
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
9e7787de0c From Scrutinizer: The case 'r' would never be reached due to the default appearing before it. 2017-03-09 22:55:32 -08:00
a49c5745b0 Use html_escape instead of htmlspecialchars 2016-09-14 18:08:12 -04:00
d30665d274 more deduping 2015-09-27 21:09:27 +01:00
1fc5fb755a handle null in tag_editcloud 2015-09-20 13:20:26 +01:00
e37c5cb9d0 More linting! 2014-04-28 02:23:45 -04:00
022c162f40 More linting and fixing of comments and PHP Doc, types, etc. 2014-04-28 01:26:22 -04:00
1ca3865a1c Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag ) 2014-04-25 22:54:51 -04:00
506e699f8a Not sure if we really need the triple equals. 2014-04-24 01:15:30 -04:00
866d39a68e The 'tags' box actually has a different ID. 2014-04-24 01:15:03 -04:00
a105090039 Some more JS linting. 2014-04-23 23:39:09 -04:00
75c3d8e453 Merge pull request #409 from jgen/linting
Linting
2014-04-20 00:29:53 +01:00
bdf49b33cb Some more linting thanks to scrutinizer-ci 2014-04-19 01:18:49 -04:00
f243092634 count("") == 1 2014-04-11 23:55:30 -04:00
0e90d58d85 Don't crash if no relevant tags are found, see #324 2013-11-27 08:28:07 +00:00
8c5987a6b2 Fixed tags with quotes killing the Javascript
Of course not.
2013-09-26 10:47:37 -05:00
7be1f9e637 Properly escape tags while building query
Could it really be that easy?
2013-09-25 23:39:40 -05:00
55bfa4cfd7 Use API calls 2013-09-25 22:59:08 -05:00
e93785339f Fix another corner case
If $counter == $def_count and the next tag in the list is a used tag, the
tagcloud_extra div would be printed twice, breaking the list.

This solution feels ugly, perhaps there's a better way to do this?
2013-08-26 23:32:44 -05:00
8732f1a9ef Extra-switch fixes
Wrong variable name, and don't do the math unless we have to.
Fixed the diplayed number being wrong.
Also fixed a corner case where number of tags in the cloud equals number to
display. Would display "[show 0 more tags]".
2013-08-10 16:19:03 -05:00
fa1fb45c1e Polish 2013-08-07 16:08:05 -05:00
03e78bd19f Tag Category integration 2013-08-07 15:58:58 -05:00
e133138be2 Config option for which tags to ignore 2013-08-07 15:25:11 -05:00
905dc2df31 Relevance sorting method 2013-08-07 14:47:44 -05:00
d27079ca9f Cleanup build_tag_map
Millions of temp variables. Assuming there's only two sorting methods. Grammar.
[show 100 more problems]
2013-08-07 14:15:04 -05:00
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00