Commit graph

468 commits

Author SHA1 Message Date
Matthew Barbour
a41e99d1af Renamed graphics extension to media extension 2019-07-08 08:07:08 -05:00
matthew
f12e2891e5 Added button element to input[button]-related css statements 2019-07-05 16:25:03 +01:00
Matthew Barbour
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
Matthew Barbour
f9f4c3bd37 Updated copyright notice 2019-06-12 17:36:36 -05: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
b93026ac1d dedupe 'og:' meta tags 2018-11-05 19:17:42 +00:00
Shish
6ae14e4921 https for theme links 2018-09-26 22:49:37 +01:00
Shish
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
jgen
7bd581b530 Scrutinizer commets. 2017-03-12 14:29:35 -07:00
jgen
ede2fcf4eb More linting and fixing 2017-03-08 23:52:31 -08:00
jgen
17307820e8 Add some PHPdoc comments as suggested by Scrutinizier 2017-03-08 23:02:26 -08: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
6febdec7b5 more explicit variable types 2016-06-19 23:05:57 +01:00
Shish
dc10a18086 lots of minor doc tweaks, type hints, etc 2016-06-19 17:41:40 +01:00
Shish
0ff6da6d3c Merge #555 2016-06-18 15:16:47 +01:00
Shish
cfc1268354 update non-layout.class.php uses of html_headers too 2016-06-18 12:49:46 +01:00
Shish
b76ee95c76 fix and use get_all_html_headers() 2016-06-18 12:25:54 +01:00
Daku
caed53de6a jQuery.cookie is deprecated so use js-cookie instead (+ composer), some js tweaking too
Conflicts:
	ext/blotter/script.js
	ext/handle_pixel/script.js
	ext/index/script.js
	ext/pools/script.js
	lib/shimmie.js
2016-06-18 06:27:32 +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
Daniel Løvbrøtte Olsen
ba66f653d6 Removes data-clink-sel="" in the sidebar links
It's unused as far as I can see
2016-01-08 10:22:58 +01:00
Daniel Løvbrøtte Olsen
2cd649b719 That's what I get for copiying and pasting 2016-01-07 13:13:50 +01:00
Daniel Løvbrøtte Olsen
ac264c4040 Stylesheet and js not from other hosts anymore 2016-01-06 23:21:55 +01:00
Daniel Løvbrøtte Olsen
a9a3af9a88 It works!!!!1!!!111!one111!!! 2016-01-06 22:58:27 +01:00
Daniel Løvbrøtte Olsen
8da4d73d82 Online tool says this should work 2016-01-06 15:27:53 +01:00
Daniel Løvbrøtte Olsen
f2af07e3d1 O.o why didn't that work? 2016-01-06 15:22:38 +01:00
Daniel Løvbrøtte Olsen
0b74b5630f How to regex 2016-01-06 15:14:33 +01:00
Daniel Løvbrøtte Olsen
7a0cb4bddc Oooops, that's kiiiinda important 2016-01-06 15:10:26 +01:00
Daniel Løvbrøtte Olsen
c36cc25cd5 This should add the correct class 2016-01-06 15:00:54 +01:00
Daniel Løvbrøtte Olsen
f8a7156371 derp 2015-12-30 13:29:14 +01:00
Daniel Løvbrøtte Olsen
05656618db Updated mdl and added license 2015-12-29 19:27:32 +01:00
Daniel Løvbrøtte Olsen
a267516b77 Made navgation links reside inside nav - "I identify as navbarkin" 2015-12-28 18:42:55 +01:00
Daniel Løvbrøtte Olsen
90b306184f weird –es 2015-12-28 18:12:37 +01:00
Daniel Løvbrøtte Olsen
ddc3b844d1 Olds CSS rules begone! 2015-12-28 18:09:06 +01:00
Daniel Løvbrøtte Olsen
eceef2a56f Added links 2015-12-28 03:22:42 +01:00
Daniel Løvbrøtte Olsen
5761148d0a fixed search - wow i was stoopid 2015-12-28 03:01:12 +01:00
Daniel Løvbrøtte Olsen
2afdbfc2d1 fixed search 2015-12-28 02:51:10 +01:00
Daniel Løvbrøtte Olsen
d8f18df3ec more testing 2015-12-28 02:45:24 +01:00
Daniel Løvbrøtte Olsen
d21e86aeb0 Cheated a bit to test it out ;) 2015-12-28 02:37:05 +01:00
Daniel Løvbrøtte Olsen
a8ca54db0b ported search, counter, foot and title to php 2015-12-27 16:10:45 +01:00
William Crandell
b7114a142e Hotfix for better block id character filtering 2015-10-26 09:20:09 -04:00
William Crandell
4af1199ff3 Hotfix flash message
maybe other issues not sure
2015-10-26 09:10:32 -04:00
William Crandell
6fb43eab19 On Develop branch
Sorry about that
2015-10-26 08:51:02 -04: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
fa2f17817e scrutinizing 2015-08-04 13:53:58 +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
Daku
b1ec0c434e move tag category css to it's own file 2015-04-18 10:39:42 +01:00
ElementAB
b555fab819 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:38:51 -06: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
ElementAB
9ee2250e63 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-24 12:34:32 -06:00
Daku
f228a8eb4f pools css should be in it's own folder, not the themes 2014-05-30 00:23:12 +01:00
Daku
1dada97adc prev link for pools 2014-05-30 00:22:04 +01: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
86612bb1ff Adding more PHP Doc comments. 2014-04-28 17:36:11 -04:00
jgen
4e9e5ca2be Fixing/adding/cleaning up the PHP Doc comments. 2014-04-26 05:01:49 -04:00
jgen
298344048c Make these functions public to prevent scrutinizer from complaining. 2014-04-26 00:27:16 -04:00
jgen
9acf6c7f19 Rename these class functions to prevent warnings from scrutinizer. 2014-04-25 15:57:23 -04:00
jgen
141ec53236 Rename these class functions to prevent warnings from scrutinizer. 2014-04-25 15:55:31 -04:00
jgen
6724f2b75a Make these functions public to prevent scrutinizer from complaining. 2014-04-25 14:17:44 -04:00
jgen
dcadfc395a Move this code back down. 2014-04-25 14:14:22 -04:00
jgen
780d5f8709 More linting. Explicitly declare these class variables, as well as comment out dead code. 2014-04-24 22:13:00 -04:00
jgen
b3077d5bcd Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:13:20 -04:00
jgen
2706f72ce4 Update and fix the PHPDoc comments. 2014-04-24 19:08:23 -04:00
jgen
ab3f9850e4 Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:01:47 -04:00
jgen
286e75bef0 Scrutinizer complains that these functions aren't defined, yet they really are. 2014-04-24 18:45:54 -04:00
jgen
0501e05cff Comment out dead code/vars. 2014-04-24 05:09:16 -04:00
jgen
868f8c9225 Commenting out dead variables and dead code. 2014-04-24 04:44:28 -04:00
jgen
f9c8a1720e Comment out dead variables. 2014-04-24 04:41:13 -04:00
jgen
2dc6e054c8 These sorts are necessary on the header arrays, otherwise the relative priority of certain headers is not respected. 2014-04-23 23:28:05 -04:00
jgen
ff722906b7 Holy shit, this is really really nasty old JS code. I would love to dump this if possible. 2014-04-19 23:06:48 -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
Shish
da29912646 tidy up a bunch of lint errors 2014-03-17 22:05:37 +00:00
Daku
e78ddc69f3 fix strict standard errors 2014-02-25 21:51:52 +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
jgen
234b8c4f51 Removing this line as this file does not exist and simply causes 404 errors. 2013-10-03 21:08:13 -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
Daniel Oaks
bf0146cc41 Danbooru2 theme, initial tag categories extension, tag list update/rework 2013-06-23 09:42:15 +10:00
Daniel Oaks
06dd72fe66 Danbooru2 theme 2013-06-19 20:09:22 +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
89a0308007 a terrible hack, because subclasses can't add optional extra params... 2012-08-18 19:55:52 +01:00
Shish
68e2ca798e make futaba:view:display_page make ext:view:display_page 2012-08-18 19:48:51 +01: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
e07bf2500b warm setup theme 2012-05-12 10:10:58 +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
Daku
a825c1cd46 this seemed to cause the info block to move above the image.. 2012-03-30 05:18:08 +01:00
Daku
7bb769917f lite should now work a bit better with blocked tags 2012-03-30 05:04:40 +01:00
Shish
5dd2886b53 common shimmie styles 2012-03-13 08:03:53 +00:00
Shish
8f020993ac forminess 2012-03-13 07:53:41 +00:00
Shish
8ba40b091e actually, the inherent padding is enough 2012-03-12 15:42:55 +00:00
Shish
78d13ff214 many theme updates 2012-03-12 05:31:19 +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
a455b804e3 pagination 2012-03-12 04:59:56 +00:00
Shish
aaf9280ee4 more styling 2012-03-12 04:56:30 +00:00
Shish
f2dfbb9080 no background for image-list 2012-03-12 04:41:57 +00:00
Shish
c638af1d76 consistent block rendering 2012-03-12 04:39:04 +00:00
Shish
40b09c8ee1 less divvy comments 2012-03-12 03:28:08 +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
7bdc00ac4e downtime css -> downtime file 2012-03-12 02:47:37 +00:00
Shish
c6c4f06de8 html5iness 2012-03-12 02:45:39 +00:00
Shish
dfd38b1b84 style tweaks 2012-03-12 02:17:38 +00:00
Shish
c1f73c6258 HTML5 elements 2012-03-11 16:18:37 +00:00
Shish
6cb31e1299 remove ancient unmaintained themes 2012-03-11 16:02:33 +00:00
Shish
c78ad128bf forms 2012-03-11 15:49:40 +00:00
Shish
b5bca91bee toggler in default setup theme 2012-03-10 02:04:15 +00:00
Shish
1db23314b8 only toggler for hidable element 2012-03-06 21:25:45 +00:00
Shish
e4c97ee80e witchcraft 2012-03-06 15:38:42 +00:00
Shish
cba1e76b1f only force-wrap comments 2012-03-05 10:24:01 +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
Josh Sutinen
4f37b48070 Apply word-wrap: break-word; to all body contents to force reallylongunbreakablestrings to be broken per the theme's dimensions rather than the arbitrary 80 characters set by the bbcode extension 2012-03-03 12:43:04 -05:00
Shish
15fdd2e0b7 replace lots of javascript with a little jquery 2012-03-02 23:57:27 +00:00
Shish
a4f2c417ec CSS3 powarr 2012-02-22 14:27:56 +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
2da52689cf upload box style 2012-02-12 12:00:19 +00:00
Shish
5241ed24b5 more style to file 2012-02-12 11:37:12 +00:00