Commit graph

231 commits

Author SHA1 Message Date
Shish
30698fefdc remove a bunch of dead variables and things 2019-10-02 11:23:57 +01:00
Shish
e6a402cd4e Merge branch 'custom_ratings' into develop 2019-09-29 14:41:14 +01:00
Shish
f5119b20a3 formatting 2019-09-29 14:32:51 +01:00
Shish
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
Matthew Barbour
68ee4d0e77 Custom rating support, user rating filter settings 2019-08-07 15:49:26 -05:00
Matthew Barbour
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
Matthew Barbour
00464d2579 Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes. 2019-08-05 09:01:20 -05:00
Matthew Barbour
972b68bdd3 Setup constants 2019-08-05 09:00:23 -05:00
Matthew Barbour
dd6c3b2321 Added window title option to post title extension 2019-08-01 08:10:30 -05:00
Matthew Barbour
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
Matthew Barbour
b1db833d51 Added additional media properties to the images table, video, audio, length, and lossless.
Added new event to handle fetching media properties like height, width, and the newly added fields, and admin controls to manually scan files for their properties.
Added a search terms content:video and content:audio to search for images that do (or do not) have those flags.
2019-07-08 08:07:09 -05:00
Matthew Barbour
7c4356d788 Updated copyright notice 2019-06-13 18:19:18 +01:00
root
76bd6d4238 Fixed an issue when null wueries were passed to some themes 2019-06-01 09:47:03 -05:00
Shish
bf473f6d51 more lint fixes 2019-05-29 18:23:29 +01:00
Shish
2396ae2ef9 fix a bunch of lints 2019-05-28 20:27:23 +01:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
Shish
b01edb2aec copyright date update 2018-11-07 12:11:17 +00:00
Shish
6ae14e4921 https for theme links 2018-09-26 22:49:37 +01:00
Shish
e43b1b3aed Merge branch 'tag-tables' of git://github.com/im-mi/shimmie2 into im-mi-tag-tables 2016-10-10 14:19:57 +01:00
im-mi
c1083bbea1 Fixed comment-delete code-injection vulnerability 2016-09-14 17:42:32 -04:00
im-mi
ab33652d70 Made tag list spacing more like it was before
It's still a few pixels off in some cases, but the difference is negligible now.
2016-09-06 22:05:34 -04:00
im-mi
5919112477 Use tables for tag lists 2016-09-06 06:08:33 -04:00
Shish
dc10a18086 lots of minor doc tweaks, type hints, etc 2016-06-19 17:41:40 +01:00
Shish
b76ee95c76 fix and use get_all_html_headers() 2016-06-18 12:25:54 +01:00
Shish
43eed32958 Merge pull request #551 from shish/contact-link
Have contact_link support http: and mailto:
2016-06-06 12:37:27 +01:00
Shish
aeeaabb22e allow both http: and mailto: contact links 2016-06-06 12:12:25 +01:00
Shish
536cba980a update footer date 2016-05-22 16:13:38 +01:00
Shish
1ac88e8923 more comments 2015-09-27 12:38:48 +01:00
Shish
90cd823ece fix liveness testing, and comments tests 2015-09-20 20:05:06 +01:00
JarJak
446397b5ad fix 2015-09-20 12:14:56 +02:00
Shish
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
Shish
83435e3266 set cookies on Page object 2015-08-03 15:49:36 +01:00
Shish
ab4c558126 php cli server uses its own request thing 2015-08-01 15:24:58 +01:00
Daku
598df41b1d set default in display, not build to avoid errors 2015-04-18 10:42:08 +01:00
Daku
be18140944 added option to hide random link on paginator (only post/list should show now) 2015-04-18 10:41:32 +01:00
ElementAB
3d17310581 Fixed information box link generation
Fixed issue where the information box would generate an incorrect link for the image source if the source was given as https:// instead of http://.
2014-12-25 01:36:18 -06:00
jgen
2bf4c667a7 Some more comments. 2014-04-29 01:51:13 -04:00
jgen
317028a63b More PHP Doc comments. 2014-04-29 01:33:03 -04:00
jgen
b3077d5bcd Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:13:20 -04:00
jgen
f9c8a1720e Comment out dead variables. 2014-04-24 04:41:13 -04:00
jgen
c527ae91d6 More linting and cleanup. 2014-04-19 04:17:28 -04:00
Shish
db5aa56300 remove a bunch of dead code 2014-03-29 11:44:34 +00:00
Daku
34e90c1cfc updated date/links in footer 2014-02-25 17:56:51 +00:00
jgen
f4f94e6273 Merge pull request #379 from DakuTree/patch-2
Misc tweaks/fixes (fixes/closes issue 17 & 323)
2014-02-21 13:40:15 -05:00
Daku
1909f9072e use mt_rand() instead of rand()
rand() isn't so random on windows: http://tjl.co/blog/code/followup-php-rand-vs-mt_rand/
mt_rand() is also slightly faster
2014-02-16 04:43:38 +00:00
Daku
629f9940c3 thumbnail border-color for post relationships
also removed build_thumb_html from themes (mostly old versions of the default base function)
2014-02-04 18:41:40 +00:00
jgen
b01ca89220 Some more small speed related tweaks. 2013-10-04 17:53:26 -04:00
Shish
39753fe7a9 Finish the process of removing $query from thumb links. (Forgot to remove $query from the thumb links) 2013-07-07 10:34:19 +01:00
Shish
47c1b5d094 move query-string-passing to JS rather than embedding in the HTML, so that the HTML can be commonised and cached better 2013-07-05 22:32:16 +01:00
Shish
2859d58191 regex and trimming updates for danbooru and lite themes 2013-06-13 12:42:30 +01:00
Shish
17cd89455d Merge pull request #270 from Diftraku/master
Fix PHP errors about Strict Standards
2012-12-31 13:08:58 -08:00
Shish
35a3986c35 compatible declrations for danbooru theme 2012-12-30 15:46:25 +00:00
Diftraku
09a18b8710 Fix errors about PHP complaining of strict standards, Pools extension needs an overhaul due to display errors being different in BaseThemelet than it is in the ext/pools/main.php 2012-12-26 20:35:00 +02:00
Shish
6394cd8100 make shm-thumb use consistent across themes, with data-tags and data-post-id 2012-08-15 20:42:56 +01:00
Shish
8c39c29528 make tag hiding a little more consistent 2012-08-15 20:22:25 +01:00
Shish
64e2b88b0a remove theme dependencies on private _get_internal_parts 2012-06-22 19:37:23 +01:00
Shish
37b3dd60b6 flash_message(str) function and support in themes 2012-06-09 17:00:25 +01:00
Shish
bfd4ddea17 check for classes being loaded, not files existing 2012-05-23 10:39:21 +01:00
Shish
854a5d9833 ratings is not necessarily installed... 2012-05-12 09:50:55 +01:00
Shish
38802c61cf more perms 2012-03-31 15:47:00 +01:00
Shish
9cebbae6b8 show delete link if user can delete comments 2012-03-31 15:46:21 +01:00
Shish
4856af9c49 more perms 2012-03-31 12:33:55 +01:00
Shish
5dd2886b53 common shimmie styles 2012-03-13 08:03:53 +00:00
Shish
3eb1f1c2ab move move common code into base classes 2012-03-12 05:08:40 +00:00
Shish
15777b3bb5 move common themelt parts into a base class 2012-03-12 05:04:29 +00:00
Shish
c638af1d76 consistent block rendering 2012-03-12 04:39:04 +00:00
Shish
5d6cf955af refactoring styles 2012-03-12 03:06:14 +00:00
Shish
7d027494b6 toggle-id -> toggle-sel 2012-03-12 02:50:41 +00:00
Shish
c6c4f06de8 html5iness 2012-03-12 02:45:39 +00:00
Shish
c1f73c6258 HTML5 elements 2012-03-11 16:18:37 +00:00
Shish
03cfb5bc24 html5 boilerplate header 2012-03-05 10:14:58 +00:00
Daku
8e4ae87c65 fix for image pages not loading for danbooru/lite themes 2012-03-04 22:18:02 +00:00
Shish
15fdd2e0b7 replace lots of javascript with a little jquery 2012-03-02 23:57:27 +00:00
Shish
af7704825b use HTTP status codes with error messages 2012-02-16 15:37:05 +00:00
Shish
c2bf42ef5a less passing of $page 2012-02-15 08:59:24 +00:00
Shish
4555d35cdb Content-Type is specified in the page headers, specifying in the HTML too is unnecessary 2012-02-12 11:30:41 +00:00
Shish
5eab692a97 have themes/x/style.css auto-loaded, and put it after the ext/*/style.css so it can override them 2012-02-12 11:29:41 +00:00
Shish
339f2b0497 more jquery magic, less inline scripting 2012-02-09 14:45:18 +00:00
Shish Moom
3b99605521 Merge pull request #116 from green-ponies/speed_tweaks
More Speed tweaks
2012-02-07 21:53:00 -08:00
green-ponies (jgen)
d69fa6ae9d Merge branch 'master' into speed_tweaks 2012-02-07 23:21:56 -05:00
Daku
1fd565fa87 can't check if rating is null if it doesn't exist... 2012-02-07 00:02:51 +00:00
Shish
9fd10fb6d2 more explicit credit for the shimmie team :3 2012-02-06 05:34:06 +00:00
green-ponies (jgen)
68e9bd694e Storing copies of config variables outside of for loops. 2012-02-04 14:17:52 -05:00
Daku
899bc22538 my favorites/feed tab should only show if ext is enabled 2012-01-31 14:58:54 +00:00
Daku
4400b385b3 this should get rid of the Call to ftp://ftp. function error 2012-01-26 10:27:32 +00:00
Daku
e10f863f1c fixed problem with random image tab not showing
popular by day/month/year should only show if ext is enabled
2012-01-26 10:27:32 +00:00
Daku
77ac43e261 added popular by day/month/year to sublinks 2012-01-26 10:27:31 +00:00
Daku
cd1087b7a7 oops, forgot to remove class used for lite theme :x 2012-01-26 09:56:34 +00:00
Daku
9f3da77ea9 added random image button to the sublinks bar + help link should now either use the wiki or ext_doc/index 2012-01-26 09:56:33 +00:00
Daku
602f76da53 lite/danbooru themes now show rating in statistics box 2012-01-26 09:56:31 +00:00
Shish
8cfa72d7cf copyright bumps 2012-01-01 20:36:51 +00:00
Daku
dc4d156e1a contact link should now properly link to email 2011-12-31 14:18:54 +00:00
Daku
b9bd4db41e Tag list should now show under the search block, instead of under every other block 2011-12-31 14:18:53 +00:00
Daku
660f9ca4b0 Changed "'thumb_width', 'thumb_height'" > "$config->get_int('thumb_width'), $config->get_int('thumb_height')" 2011-12-21 20:52:06 +00:00
Daku
c7852423d4 Added a feature which removes the size tag from mp3 tooltips. 2011-12-16 21:29:46 +00:00
Daku
56931b0eaa Changed the 192x192 default to use the max thumbnail size. Made this work with SVG aswell. 2011-12-16 18:36:08 +00:00
Daku
a38327b6d3 Made flash thumbnails have a default 192x192 resolution. 2011-12-16 16:34:23 +00:00
green-ponies (jgen)
c30c898c4e Changing files to use the $page->add_http_header() method instead. 2011-09-04 14:06:50 -04:00
green-ponies (jgen)
fca286913e Working on moving header() inside of the global $page data structure. 2011-09-04 14:06:34 -04:00