Commit graph

1559 commits

Author SHA1 Message Date
Shish
47447ee982 generate rss thumbs in a different function, with cache 2013-07-05 22:32:16 +01:00
vomitcuddle
b8cf3562b0 Remove duplicate arrow key navigation extension 2013-07-04 01:30:48 +01:00
Shish
79ff722d10 Merge pull request #307 from HungryFeline/patch-1
Allow transload from urls with query string
2013-07-02 05:36:38 -07:00
HungryFeline
71117cf8fa Look for the source in _GET and not in _POST when uploading via _GET 2013-07-02 04:35:18 +02:00
HungryFeline
cbd927ffa2 Allow transload of image urls with querystrings
And remove them from the filename and fileext
2013-07-02 04:31:06 +02:00
Shish
e547b1362f Update theme.php 2013-07-01 09:45:32 +01:00
Shish
e6146d82ea Update theme.php 2013-07-01 08:05:30 +01:00
Daniel Oaks
2a51a9d6ba Fixed things Shish pointed out 2013-06-23 16:57:25 +10:00
Daniel Oaks
bf0146cc41 Danbooru2 theme, initial tag categories extension, tag list update/rework 2013-06-23 09:42:15 +10:00
Shish
1264ec5b35 Merge pull request #298 from aki--aki/master
Add reset_image_ids from shish/shimmie2-utils to the admin extension
2013-06-22 06:31:55 -07:00
Aki Jenkinson
e5e12220b3 Made reset image IDs button only appear on MySQL 2013-06-22 18:30:10 +12:00
Shish
5c13fcac62 resolve aliases on input as well, so the target shows in the url 2013-06-20 22:59:42 +01:00
Shish
4a2c47459c Chatbox 2013-06-19 20:59:59 +01:00
Drudex Software
a3486f9b29 Bulk Remove 2013-06-19 20:59:37 +01:00
Drudex Software
668ebdcb2e Arrowkey Navigation 2013-06-19 20:56:19 +01:00
vomitcuddle
35f7ccb3ba Include thumbnail dimensions 2013-06-18 22:31:24 +01:00
vomitcuddle
911caadc84 Support Gelbooru API page offsets 2013-06-18 22:31:16 +01:00
vomitcuddle
619382d1b9 Include image count and offset in root tag 2013-06-18 22:31:09 +01:00
Shish
b6235695da unique IDs for 'posted' search params 2013-06-16 12:20:53 +01:00
Shish
c8b12a0459 update comment 2013-06-15 19:57:15 +01:00
Shish
e7ddd2960b use upload_tmp_dir as temp place for transloading, see #297 2013-06-15 19:54:00 +01:00
Zarek Jenkinson
f2d0bc6cfa Merge branch 'master' of https://github.com/shish/shimmie2 2013-06-13 23:47:47 +12:00
Shish
e01b9b22c4 don't try to set tags / source if they aren't sent 2013-05-30 14:19:03 +01:00
Shish
b562de3e94 redirect to referrer after adding image hash ban 2013-05-30 10:21:11 +01:00
Zarek Jenkinson
ac764d0e9c protect reset_image_ids & move protected checkbox 2013-05-29 23:00:01 +12:00
Zarek Jenkinson
344e8afd98 Add reset_image_ids from shish/shimmie2-utils to the admin extension 2013-05-29 19:59:41 +12:00
Shish
261dee5a7c hacky source history 2013-05-18 13:52:11 +01:00
Shish
5a9f69afbe Numeric type and aspect keeping - #281 2013-05-18 10:20:08 +01:00
Shish
f4a49b2fb1 Current size as default for resize, if default is otherwise 0 - #281 2013-05-18 10:20:08 +01:00
jgen
cc95eb5deb Some more small speed tweaks. 2013-05-13 20:40:01 -04:00
jgen
bf49c7ce19 Fix for Enabling Image View count extension causes fatal error. 2013-05-11 22:49:36 -04:00
Shish
18b94a801d allow custom themelets to call TagEditTheme::format_source() 2013-05-07 09:13:26 +01:00
Shish
44e9714d88 logging for delete user 2013-04-28 07:48:42 +01:00
Shish
bb0ebc5d42 first version of pm_trigger ext 2013-04-26 17:27:22 +01:00
Bill Garrett
861e04d85f Use ['HTTPS'] to construct the nicetest URL, allowing Shimmie to use nice URLs when served over HTTPS 2013-04-23 21:48:32 -07:00
Shish
8d77d251a5 Merge pull request #285 from kenshiros/fixvoteslistlinks
fix numeric_score to use make_link for user profile links
2013-04-07 05:33:51 -07:00
kenshiros
455bf795de fix numeric_score to use make_link for user profile links 2013-04-07 07:30:38 -04:00
kenshiros
519cff827f fix pools link on home page to point at site://pool and not site://pools 2013-04-07 07:06:20 -04:00
DrudexSoftware
014975884b - Custom page titles rewritten, can now only use website title as prefix or suffix. This is done so admins can use this feature without too much difficulty or without it being bugged. 2013-03-10 09:38:06 +01:00
DrudexSoftware
a89d417546 a few more minor changes 2013-03-10 08:56:58 +01:00
DrudexSoftware
a4b29f0254 - Setup block added for Random Images List 2013-03-10 08:43:50 +01:00
DrudexSoftware
8e6fe9f7e3 - Random list page now has a title<br>
- Custom Html Headers extension now allows admin to set title prefix & suffix for all pages
2013-03-10 08:24:15 +01:00
DrudexSoftware
e54c8439cb Random List now displays actual random images...
Also arrowkey navigation extension now supports Random List extension
2013-03-10 07:53:09 +01:00
DrudexSoftware
8251133270 Amount of randoms displayed = images per page / 2 2013-03-10 07:35:35 +01:00
DrudexSoftware
fccd5d249d Merge branch 'master' of https://github.com/shish/shimmie2.git 2013-03-10 07:01:28 +01:00
DrudexSoftware
41709e419b Added extension allowing users to view a random page at www.website.com/random 2013-03-10 07:00:24 +01:00
Shish
3175e605da Merge branch 'master' of https://github.com/shish/shimmie2 2013-03-07 03:25:23 +00:00
Shish
e49e90f9ab fff, php 2013-03-07 03:23:35 +00:00
Shish
e013d86b56 disallow aliases to other aliases 2013-03-03 18:32:56 +00:00
Shish
d5bc06835d reserve block slot #0 for site announcements 2013-03-03 18:27:06 +00:00
DrudexSoftware
7155804505 Cleaned up code in some of my extensions
Removed function testImage in ext/chatbox/test.php because it no longer applies (there is a cache now)
2013-03-01 17:29:28 +01:00
Drudex Software
a03e4d5102 Custom HTML Headers added
I may also expand it to allow headers specific pages later
2013-02-25 01:59:43 +01:00
DrudexSoftware
cf9e0eae8c oops, forgot something 2013-02-24 01:26:48 +01:00
DrudexSoftware
937eefcb50 /post/view now also supports things like /post/view/4#search=tag1 2013-02-24 01:05:50 +01:00
DrudexSoftware
c55c984cfc also correctly handle post/list without a page ID given 2013-02-23 23:34:32 +01:00
DrudexSoftware
069b7ee9ea arrowkey navigation on post/list now supports tags 2013-02-23 23:26:08 +01:00
DrudexSoftware
13d8b0831e Fixed problems from notes by shish
Added arrowkey navigator to post/list as well
arrowkey navigator also works with tags on post/list now
2013-02-23 22:17:20 +01:00
DrudexSoftware
dfd7157cd2 arrow key navigation through images
allows visitors to use left-right keyboard keys to navigate to different images using post/next/(id) and post/prev/(id)
2013-02-23 08:00:59 +01:00
DrudexSoftware
b88f7a4d6b image_view_counter: also saving with user ID with addview() for later use 2013-02-23 07:17:58 +01:00
DrudexSoftware
93a431dce7 image_view_counter:
- now displays views below image (only if it's okay with the admin settings)
- comment changed
2013-02-23 06:47:06 +01:00
DrudexSoftware
1a38a152e6 image_view_counter:
- added view counter
- only adds view every hour from same person
- no way to display to user/admin yet (todo)
2013-02-23 06:21:00 +01:00
DrudexSoftware
4c170110e8 Moved sitemap file to /data/cache/sitemap.xml
Sitemap creation time now determined by filemtime instead of via config
2013-02-20 00:31:52 +01:00
Drudex Software
4b4d08c854 Merge pull request #12 from shish/master
Merged shimmie2 changes
2013-02-14 20:03:39 -08:00
Drudex Software
e64f1f0bcb Update ext/sitemap/main.php
- Added setup block to choose between generating full sitemap or smaller sitemap
- Added sitemap caching, regenerating at most every day
2013-02-15 04:31:31 +01:00
Drudex Software
52893d0f04 Update ext/sitemap/main.php
- Added setup block to choose between generating full sitemap or smaller sitemap
2013-02-15 03:04:58 +01:00
Drudex Software
c90689a63e Update ext/user/main.php
- Added board config option for user login forwarding
- Set user_loginshowprofile default to 0
- now only applies when user is on a page containing post/ in its url (to avoid weird messages)
2013-02-15 02:22:09 +01:00
Drudex Software
55b0919465 Update ext/user/main.php
Also don't return to same page if page is "user_admin/login". 
Otherwise it can occur if user first failed to log in with the correct credentials
2013-02-14 23:54:23 +01:00
Drudex Software
62ad4c0ecb Update ext/user/main.php
Site owners can now choose in board config what page users will go to when logging in:
- Previous page (default)
- My Profile (old default)
2013-02-14 22:34:43 +01:00
Shish
9fbc31dbf2 Merge branch 'master' of https://github.com/shish/shimmie2 2013-02-11 08:16:06 +00:00
Shish
9d5fed4a94 sneaky update 2013-02-11 08:15:28 +00:00
DrudexSoftware
59ec209c4a Caching not working properly for various reasons, removed for now 2013-02-11 08:43:06 +01:00
Drudex Software
b7b8786f18 Remade the sitemap extension
- now makes full sitemap with specific with higher priorities for newer/more popular content
- Sitemap is cached for 6 hours
several things still need to be added
2013-02-10 17:41:19 +01:00
Shish
ffdca16b30 read-ness column on PM table, for sorting 2013-02-09 10:35:59 +00:00
Shish
4366d3e3e9 Merge branch 'master' of https://github.com/shish/shimmie2 2013-02-09 10:28:14 +00:00
Shish
e69b72dfd3 only use >> quotes at the start of lines 2013-02-09 10:27:37 +00:00
Shish
4fe7855a70 nicer formatting for tag history log 2013-02-09 10:27:25 +00:00
Shish
279c3dd61a max-width 100% for images inside comments 2013-02-09 10:26:55 +00:00
Shish
ff39a1df91 explicit sorting for PM list 2013-02-09 10:26:30 +00:00
Drudex Software
c0e51b5f0c unnecessary code removed 2013-02-08 22:18:19 +01:00
DrudexSoftware
c709e12440 Google Analytics Integration
allows users to optionally use google analytics tracking in shimmie by
simply entring the analytics id in the board config.
2013-02-07 21:41:01 +01:00
Shish
06832bae48 Actually, that causes warnings in other versions; use the static version 2013-01-24 10:52:35 +00:00
Stijn Raeymaekers
160bdb3553 Replaced invalid operator
Caused all images and some other pages to get the following error:
syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
2013-01-24 11:08:34 +01:00
Shish
471bc1805a escape title too 2013-01-04 22:40:16 +00:00
Shish
1664f932fe Merge pull request #269 from pachuco/master
Comment extension
2013-01-04 14:43:52 -08: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
78442e96c3 add daily cache breakage to gravatars 2012-12-30 18:08:58 +00:00
Shish
6a5b92502b Log user creation with created user 2012-12-30 16:04:05 +00:00
Shish
da11cc5d05 better error handling for report image 2012-12-30 16:00:55 +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
pachuco
15de0f7732 Added page title. 2012-12-19 01:18:30 +02:00
pachuco
ef8c60f032 Things were fetched from the currently logged user instead of the viewed one. My bad. 2012-12-18 17:29:07 +02:00
Shish
cebebcd975 Merge branch 'master' of https://github.com/shish/shimmie2 2012-12-10 21:28:44 +00:00
Shish
5a3b4dae49 normalise usernames 2012-12-10 21:28:41 +00:00
Shish
80bdc565dd truncate filenames on insert 2012-11-24 20:01:14 +00:00
pachuco
cfe3fabd6d *Index link fixed in uaser and site comment navigators
*No bloody idea why I added the assertions in display_all_user_comments();
*Commented out some doohickey thing that did something and borke other stuff
*Added index link and paginator in user comment list
2012-11-24 20:36:00 +02:00
pachuco
f6f2638003 *Total number of pages correctly calculated for user comments
*Page number sanity checks for both user comments and site comments
2012-11-24 20:28:49 +02:00
Shish
fff8318f1f offset after limit 2012-10-17 00:05:48 +01:00
velocity37
44bcf6f322 Handle MP3: Use getID3() for validation, Fuzzy MP3 Detection + ID3 Reader 2012-10-16 21:42:21 +01:00
velocity37
c9bacdf56d Handle Video: Flash/HTML5 video player
Requires getID3() and Jaris FLV Player
2012-10-16 21:42:20 +01:00
velocity37
1a55d997e3 Bulk_add_csv: add note about custom thumbnails 2012-10-16 19:52:08 +01:00
velocity37
c42cc57977 Bulk_add_csv: add custom thumbnail support 2012-10-16 19:36:55 +01:00
Shish
112130b8ad the start of full per-user comment history 2012-10-15 21:48:55 +01:00
Shish
0ae4ef4110 get source from POST[source], if set 2012-10-15 20:21:09 +01:00
Shish
c6e5a4046a Merge branch 'master' of github.com:shish/shimmie2 2012-10-15 19:04:09 +01:00
Shish
3e516e143c cleaner image hash ban handling, allow specifying hash or ID 2012-10-15 19:03:59 +01:00
Shish
936c1a65ca fix off-by-ones 2012-10-06 15:59:13 +01:00
Shish
1acf839902 Merge pull request #260 from pachuco/master
Forum extension updates.
2012-10-06 07:58:11 -07:00
Shish
6abf65c062 option for making samefags public 2012-10-03 21:28:29 +01:00
Shish
e00299b376 autofocus for search box on front page 2012-09-25 23:20:52 +01:00
Shish
f59ea82e0e Merge pull request #259 from Agasa/patch-1
Update MassTagger redirect to reload page
2012-09-25 10:51:06 -07:00
pachuco
d333345a2c *Cosmetic changes to thread posts.
*Return link to forum index in thread page.
*Fixed pesky undefined $oe in theme.php.
*Reordered paginator for accessability
*Numbered posts.
2012-09-25 20:37:20 +03:00
pachuco
1db92e6f2a Some CSS love. 2012-09-25 20:34:50 +03:00
pachuco
9cebef5a50 *Inexistent threads are no longer accesible.
*Pages outside index cut to last one(thread index and threads).
*Return to last page in thread after posting reply.
2012-09-25 20:33:56 +03:00
Shish
e3d385aee5 Merge branch 'master' of github.com:shish/shimmie2 2012-09-24 22:36:28 +01:00
Shish
ac812b4a2a danbooru api updates 2012-09-24 22:36:09 +01:00
Agasa
af9d5ed185 Update MassTagger redirect to reload page
Modified Mass Tagger extension to make it so that instead of redirecting to post/list it reloads the page instead, unburdening the user from a click on Back and manually reloading.
2012-09-24 12:02:22 +03:00
Shish
bbe2b1dc46 don't need to load the file into memory if we're responding with '304 not modified'... 2012-09-22 23:10:29 +01:00
Shish
5c30eab6ad merge Agasa's mass tagger work (replace tags mode, as opposed to the default of adding) 2012-09-22 22:58:56 +01:00
Shish
01aacdb19c admin function for fixing tag cases 2012-09-03 12:06:11 +01:00
Shish
da0bb2d65e Merge branch 'master' of github.com:shish/shimmie2 2012-09-03 10:49:35 +01:00
Shish
11340ca6da regen thumbs permission hack 2012-08-25 20:28:34 +01:00
velocity37
86402f681c bulk_add_csv: bulk_add with metadata
Imports a CSV with:
path,tags,source,rating

It is basically bulk_add with an fgetcsv loop instead of a foreach glob.
I wanted an easy way to import tagged data from other sources.
2012-08-23 17:03:46 -07:00
velocity37
624468851e Only show thumb_convert_path if using ImageMagick 2012-08-21 19:00:25 -07:00
velocity37
a2e1edded5 Actually use thumb_convert_path
The check would always fail even on Windows, resulting in thumb_convert_path never being used. See:
https://github.com/shish/shimmie2/issues/254
2012-08-21 18:51:20 -07:00
velocity37
10fadb27d1 Make thumb_convert_path not Windows-specific 2012-08-21 18:46:34 -07:00
velocity37
d154b38680 Add thumb_convert_path to Board Config 2012-08-21 18:42:14 -07:00
Shish
99e431598c streamline rotation 2012-08-18 21:12:44 +01:00
Shish
7ec7ca623b rotate ext from Agasa 2012-08-18 21:10:35 +01:00
Shish
0d2c78939e streamline resize image process 2012-08-18 21:09:40 +01:00
Shish
216dada347 somehow ImageIOTheme wasn't extending Themelet, and things mostly worked... 2012-08-18 20:56:35 +01:00
Shish
b538fd4e27 make the forum not *completely* broken... 2012-08-18 20:43:55 +01:00
Shish
82d74b5719 report SCore errors as errors... 2012-08-18 20:36:54 +01:00
Shish
c1fbf128c9 hackily fix non-niceurl'ed tests 2012-08-18 20:31:13 +01:00
Shish
27c06f02ce remove debugging thing 2012-08-18 20:29:45 +01:00
Shish
0fd8157e5e part way towards running tests from the CLI 2012-08-18 20:27:12 +01:00
Shish
5ddd358d5f don't user build_thumb_html statically 2012-08-18 19:47:57 +01:00
Shish
7dd929e5a8 remove a whole load of event->user variables that weren't used -- things should be using global user 2012-08-18 19:45:39 +01:00
Shish
f3aad43fa3 merge the two List Controls blocks 2012-08-18 19:23:11 +01:00
Shish
6fcdf4717e Merge branch 'js-classes' 2012-08-15 21:26:56 +01:00
Shish
5022d2b965 more tags, more opera glitch workarounds 2012-08-15 21:19:51 +01:00
Shish
887c746e35 mass tagger -> shm-*, specify what data tags shm-thumb has, now it works with all themes 2012-08-15 21:05:08 +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
4470d937a4 handle_pixel -> shm-* 2012-08-15 19:46:51 +01:00
Shish
f5d787efbf while we're here, fix the blotter in general... 2012-08-15 19:46:36 +01:00
Shish
fd4e801756 convert blotter to use ui-* and shm-* 2012-08-15 11:13:25 +01:00
Shish
fed253dc18 sort bans by add date 2012-07-28 12:07:55 +01:00
Shish
7e8cf48b08 and trigger the update... 2012-07-28 11:59:11 +01:00
Shish
49a1ae94b6 ban IP as an inet type 2012-07-28 11:56:55 +01:00
Shish
442e1a0de1 stricter data for ban adding 2012-07-28 11:42:07 +01:00
Shish
0a73424679 Merge branch 'master' of github.com:shish/shimmie2 2012-07-28 11:12:40 +01:00
Shish
ee52d582c4 image replacing simplicity 2012-07-28 11:12:05 +01:00
Shish
a9bfd1bcdc break 2012-07-24 20:38:10 +01:00
Shish
8b83b90b53 make tags required in the HTML form 2012-06-27 11:13:36 +01:00
Shish
951da261e8 Use the same 'create new image' block for post/list and oekaki pages 2012-06-26 20:00:38 +01:00
Shish
7391dcf0b6 configuarable oekaki size, and more consistent creation 2012-06-26 19:58:35 +01:00
Shish
80673b73ec re-arrange oekaki bits for better permissions 2012-06-26 19:47:40 +01:00
Shish
756de7b023 Merge pull request #243 from pachuco/master
Oekaki extension tweaks
2012-06-26 11:43:18 -07:00
Shish
cd693630a3 width: 100% + shadows fails 2012-06-26 19:41:20 +01:00
Shish
b82fd133fc Merge branch 'master' of github.com:shish/shimmie2 2012-06-26 19:38:53 +01:00
Shish
a3d77c6f42 firefox ignores file upload width attribute :| 2012-06-26 19:38:22 +01:00
Shish
287cea7959 >> = quote... 2012-06-26 19:38:02 +01:00
pachuco
6453c767ef Added ability to input resolution both in post index and oekaki page, as well as a little warning about losing canvas contents. 2012-06-24 23:25:46 +03:00
pachuco
6b6f60faca Authors of updated iconset credited.
Icons taken from https://github.com/CatoTH/ChibiPaint-Animexx-Edition
2012-06-24 23:22:14 +03:00
pachuco
e1c04facdb Users with insufficient privileges are now unable to use oekaki. 2012-06-24 23:21:22 +03:00
pachuco
4535299b2a Replaced icons with something actually bearable.
Updated internal readme to credit authors.
Taken from https://github.com/CatoTH/ChibiPaint-Animexx-Edition
2012-06-24 23:19:06 +03:00
Shish
0bc4ebafa5 somewhat excessive caching for index pages 2012-06-24 02:07:59 +01:00
Shish
8dfeb7cda3 longer cache timings, with better invalidation 2012-06-24 01:57:12 +01:00
Shish
9ca07641d2 build_thumb_html can't be called statically 2012-06-24 01:13:24 +01:00
Shish
a640de5283 a little extra error checking 2012-06-24 01:11:07 +01:00
Shish
38f7555d98 get rid of direct references to Database's engine 2012-06-24 00:57:55 +01:00
Shish
dd505e556e avoid using magic internal database->db value 2012-06-24 00:27:21 +01:00
Shish
d87e53ab90 cache reported image count 2012-06-23 23:28:38 +01:00
Shish
5a93e650c1 make sure featured image object is fully populated before caching, else it still lazy-queries tags each time 2012-06-23 23:25:53 +01:00
Shish
ee1162309a block caching 2012-06-23 23:21:04 +01:00
Shish
1daf0416bd optionally run jpegoptim on newly created thumbs 2012-06-23 23:02:02 +01:00
Shish
f61b4b3fcb proper setup bits for livefeed 2012-06-22 22:30:22 +01:00
Shish
16f1c06734 more livefeed tweaks - put the URL first for consistency 2012-06-22 20:04:12 +01:00
Shish
2e897e097d live feed tweaks 2012-06-22 19:32:41 +01:00
Shish
8dcd56e0ec udp log_net, because it's faster and more elegant 2012-06-22 19:19:13 +01:00
Shish
7ed7f4bbb8 Merge branch 'master' of github.com:shish/shimmie2 2012-06-22 19:14:15 +01:00
Shish
9291601a30 livefeed extension 2012-06-22 19:13:57 +01:00
Shish
029719cafe statsd ext, for trivially making graphs of site activity 2012-06-22 18:34:23 +01:00
Shish
4b2cba4642 bulk add uses tags from filename if filename is '123 - tag1 tag2 tag3.ext' folder name otherwise 2012-06-21 09:11:26 +01:00
Shish
8173a7cafd clear event listener cache when exts change 2012-06-18 00:29:41 +01:00
Shish
a9b3ffe0eb start of command-line ext manager 2012-06-18 00:27:58 +01:00
Shish
5519c3a320 lots of tidying and removal of duplicate code 2012-06-18 00:00:21 +01:00
Shish
082e6fa31b nice, event-based command line support; try 'php index.php' for info 2012-06-17 20:06:02 +01:00
Shish
427175983b don't pre-populate the ban lists with fake data, things get confused 2012-06-17 18:50:46 +01:00
Shish
1065a1915d bold for *unread* PMs 2012-06-10 18:40:30 +01:00
Shish
4a6f9f3245 say who a PM is from 2012-06-10 18:18:50 +01:00
Shish
f8cc785560 flashes for user changes 2012-06-10 18:13:22 +01:00
Shish
97d280501c image ban messages 2012-06-10 17:57:57 +01:00
Shish
8c1e495ab7 better IP Ban logging 2012-06-10 17:49:17 +01:00
Shish
239e028662 flash messages everywhere~ 2012-06-10 04:21:03 +01:00
Shish
a38aaba328 postgres has microseconds, which is overkill to display 2012-06-09 16:25:51 +01:00
Shish
82cc77817a delete comments by IP 2012-06-09 16:08:29 +01:00
Shish
5186601805 wording 2012-06-09 16:08:15 +01:00
Shish
b1e5ba794b update comment styles for new classes 2012-06-09 15:52:28 +01:00
Shish
2542051bc4 show user classes 2012-06-09 15:25:07 +01:00
Shish
8de1bd0c56 different classes for different types of comment list 2012-06-05 13:11:15 +01:00
Shish
5d431b9b03 apparently 'false' is an object with length, and the length is 1. Fuck PHP. 2012-05-28 09:55:55 +01:00
Shish
a809e95ff1 anonymous functions are php 5.3, shimmie aims for 5.2.6 2012-05-28 09:46:16 +01:00
Shish
4f8332f3f7 use the global and well tested make_http() rather than local hostify() 2012-05-23 11:50:04 +01:00
Shish
5fdb54c9ec missed a couple of big globs 2012-05-23 11:35:30 +01:00
Shish
bfd4ddea17 check for classes being loaded, not files existing 2012-05-23 10:39:21 +01:00
Shish
2e76add61b enhance zglob to allow really long patterns 2012-05-22 12:46:56 +01:00
Shish
cb8b4f3329 have a single var for memory limit 2012-05-22 12:26:47 +01:00
Shish
61f3a9d372 Merge branch 'master' of github.com:shish/shimmie2 2012-05-22 12:15:14 +01:00
Shish
2d451224dd only one of tags/image-specific-tags needs filling 2012-05-22 12:14:46 +01:00
Shish
708b117b2a caching for related tags 2012-05-16 06:33:04 +01:00
Shish
4cbd00c039 Merge branch 'master' of github.com:shish/shimmie2 2012-05-16 05:32:56 +01:00
Shish
23fe15e8cd clear CSS cache on theme changes 2012-05-12 10:04:17 +01:00
Shish
1ae3c8e0ba Merge branch 'master' of github.com:shish/shimmie2 2012-05-08 18:45:41 +01:00
Shish
216d137064 when uploading an archive, say the file was handled 2012-05-08 18:32:55 +01:00
Daku
3618c2dbb9 forgot to removing testing :x 2012-05-02 21:13:37 +01:00
Daku
d6de529ca5 should work properly with lite theme now.. 2012-05-02 20:48:39 +01:00
green-ponies (jgen)
dd88127c30 Undoing this commit: Removing unnecessary call to int_escape(). Simply cast to int inline, saving function call overhead. 2012-04-18 00:54:18 -04:00
green-ponies (jgen)
3b6e113e8b Merge branch 'mime_types' 2012-04-16 16:46:27 -04:00
green-ponies (jgen)
540e82a27a Actually use the mime type. 2012-04-15 20:00:27 -04:00
green-ponies (jgen)
a0a0ba5bbc A better version of bool_escape() that uses filter_var if possible.
Also removed undb_bool() as it was basically a copy of the old bool_escape function.
2012-04-15 19:28:27 -04:00
green-ponies (jgen)
a82f9382d1 Removing unnecessary call to int_escape(). Simply cast to int inline, saving function call overhead. 2012-04-15 18:40:06 -04:00
green-ponies (jgen)
8aff5c39ce Fix for mass_tagger when Nice URLs are enabled. 2012-04-15 18:24:25 -04:00
green-ponies (jgen)
a2b94b31dd Collect information on the Thumbnail engine as well. 2012-04-09 17:11:03 -04:00
Shish
f81fa08077 source search 2012-04-05 17:33:50 +01:00
Shish
df4ab51dd9 ban bad phrases from appearing in tags and source too 2012-04-05 17:22:06 +01:00
Shish
fdb6727f41 don't fail at multiple searches on the same param (eg 'id>=X id<=Y') 2012-04-05 16:18:41 +01:00
Shish
2a8643d06e Merge branch 'master' of github.com:shish/shimmie2 2012-04-05 15:20:38 +01:00
Shish
03795e7d1c if user has no votes, don't delete all their votes 2012-04-05 15:20:04 +01:00
Shish
6991bb9462 tag_editcloud breaks 'for i in array' 2012-04-03 03:52:17 +01:00
Shish
14770e4733 show stats *after* gathering them 2012-04-01 20:47:59 +01:00
Shish
e24b144acb test updates 2012-04-01 18:47:14 +01:00
Shish
2831f61489 clean up even if the mass delete fails 2012-04-01 18:17:33 +01:00
Shish
678215e4bd width / height were never used individually, now just have images 2012-04-01 17:47:39 +01:00
Shish
84cdd21e09 don't try to load notes if there are no notes 2012-04-01 17:32:02 +01:00
Shish
d80d81ea78 move jquery libs to lib/ 2012-04-01 17:09:46 +01:00
Shish
2fc4292cef expiring images is advanced, and also rarely used as people should have niceurls 2012-04-01 16:58:42 +01:00
Shish
19fb6a16ae image zoom isn't an admin option any more 2012-04-01 16:53:47 +01:00
Shish
d1a4c32ef6 only test enabled exts 2012-04-01 16:45:12 +01:00
Shish
cf5e35bd2d simpletest updates broke things... 2012-04-01 16:41:05 +01:00
Shish
070ba8c276 test improvements 2012-04-01 16:37:38 +01:00
Shish
664e6fa509 *image_ad* is blocked by opera, which makes use of image_admin a pain... 2012-04-01 16:06:11 +01:00
Shish
ab128b4b24 make non-nice images work 2012-04-01 15:55:48 +01:00
Shish
eb05458c9f change user class / delete user separate from admin 2012-03-31 19:25:27 +01:00
Shish
4a95f502f8 fix includes 2012-03-31 19:07:45 +01:00
Shish
75abdc7c04 store enabled exts in a config file, rather than moving directories around 2012-03-31 19:07:05 +01:00
Shish
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00
Shish
81c7ac0120 mass source set perm 2012-03-31 16:31:10 +01:00
Shish
1d648d0d32 remove redundant code 2012-03-31 15:54:29 +01:00
Shish
5a2a2fa7e4 more removal of distinct classes 2012-03-31 15:43:25 +01:00
Shish
567755a185 Merge branch 'master' of github.com:shish/shimmie2 2012-03-31 12:38:44 +01:00
Shish
11372366ad gravatar note 2012-03-31 12:38:39 +01:00
Shish
c2de49c248 tag list caches in data/cache 2012-03-30 18:35:05 +01:00
Shish
e538181fa1 add alias after finishing the mass tag edit 2012-03-30 16:40:14 +01:00
Daku
546b7ea21e blocked tags will also set thumbblock div to 0 if theme is lite 2012-03-30 05:05:16 +01:00
Shish
e7fc084f44 log mass tag edits 2012-03-29 21:31:04 +01:00
Shish
d7578e754f test for mass tag edit 2012-03-29 21:12:24 +01:00
Shish
7a6ef55114 bleh, source validation. Anything is allowed and it's only linked on output if appropriate 2012-03-25 04:45:47 +01:00
Shish
893afe5b61 Merge branch 'master' of github.com:shish/shimmie2 2012-03-25 04:12:31 +01:00
Shish
f2f5ec720d debugging 2012-03-25 04:11:40 +01:00
Shish
cd8ec7bf41 sort alias CSV file the same way as the table 2012-03-25 03:32:32 +01:00
Shish
b628bcfa86 user deletion event, with vote deletion 2012-03-25 02:41:33 +01:00
Shish
266f3c4a9a quotes on single lines 2012-03-25 02:20:51 +01:00
Shish
5efdbdeb91 set zoomer val on shotcut too 2012-03-24 23:34:00 +00:00
Shish
1d4836e6c4 toggle zoom on click 2012-03-24 23:30:19 +00:00
Shish
8336fbfce5 and update the select box from cookie 2012-03-24 11:48:44 +00:00
Shish
0b45042161 ui- prefix for UI cookies 2012-03-24 11:23:06 +00:00
Shish
eb705d29f5 image scaling cookie 2012-03-24 11:17:09 +00:00
Shish
ecad3b9891 only refresh if needed 2012-03-22 16:35:44 +00:00
Shish
f993b3c19d js cookie expires 2012-03-22 16:28:57 +00:00
Shish
cfe0547755 force reflow after hiding some thumbs 2012-03-22 15:44:04 +00:00
Shish
898df24dd9 function for selecting blocks 2012-03-22 14:19:46 +00:00
Shish
2226bc9f15 hide thumbnails with given tags 2012-03-22 13:40:13 +00:00
Shish
b156d4f380 no need for 'load files in a good way' to be optional, just do it 2012-03-21 15:04:17 +00:00
Shish
58c06893e1 if the comment succeeds, we still want to set the 'user tried to comment' cookie :P 2012-03-19 20:05:19 +00:00
Shish
713c3db01a remove trailing slashes from displayed sources 2012-03-19 19:48:03 +00:00
Shish
49c0d09281 mass source setter 2012-03-19 19:42:52 +00:00
Shish
57d687a7e1 give images priority 10 2012-03-19 19:09:52 +00:00
Shish
e3f00166a7 remove whitespace 2012-03-19 18:51:25 +00:00
Shish
cadc99ae90 delete image after adding it, not after not-adding it 2012-03-19 14:27:04 +00:00
Shish
4db92471e1 404 for no images 2012-03-19 14:25:43 +00:00
Shish
ee4b223f65 comment_anon bool -> create_comment perm 2012-03-19 13:17:47 +00:00
Shish
bca3dd919d upload_anon bool -> create_image perm 2012-03-19 12:59:02 +00:00
Shish
1a34557da7 if image replacement is unwanted, don't allow users to replace images 2012-03-19 11:07:13 +00:00
Shish
9004c8d555 use user classes 2012-03-19 10:41:07 +00:00
Shish
fda6fb09fa don't show options that don't do anything... 2012-03-19 10:33:42 +00:00
Shish
a826a9c81a expiration only applies without niceurls 2012-03-19 10:25:36 +00:00
Shish
d21b9e58ab Merge branch 'master' of github.com:shish/shimmie2 2012-03-15 06:19:16 +00:00
Shish
a23498a8d7 more recently updated comments 2012-03-15 06:17:19 +00:00
Shish
537ae6de18 remove jquery deletion
jquery deletion was deleting the wrong image if there were multiple
delete buttons on one page (eg, on the report image page); also it
stands out awkwardly being the only bit of jquery UI on the site.
Moving to jquery UI across the site might happen later, but for now
I just want to get a release out...
2012-03-15 05:49:24 +00:00
Shish
6f4f4f3235 redirect back to report list after deleting, if that's where we came from 2012-03-15 05:48:42 +00:00
Shish
1a8ea4eb08 some windowses are not NT? 2012-03-15 05:34:55 +00:00
Shish
3acf53a32a default style:width:100% overrides width:100%. Use a local style 2012-03-14 20:28:15 +00:00
Shish
0be4f83e4e don't allow showing of metadata at all if exif_read_data is undefined 2012-03-14 20:24:34 +00:00
Shish
6632521218 permission name tweaks 2012-03-14 19:24:10 +00:00
Shish
cf7d1dded5 Merge branch 'master' of github.com:shish/shimmie2 2012-03-14 19:17:56 +00:00
Shish
16af27e6b7 only display editors for editable fields 2012-03-14 19:17:52 +00:00
Shish
7a6741d202 TYPE -> ENGINE 2012-03-14 18:11:46 +00:00
Shish
e67d679194 regexes are fun and pleasant to work with, in the same way that oranges are purple 2012-03-14 03:15:35 +00:00
Shish
b4fb667eaa use URLs for linking to comments 2012-03-13 16:04:50 +00:00
Shish
e31b6af28b site:// protocol support 2012-03-13 16:01:13 +00:00
Shish
c887580074 with no more wordwrap, there's no need for unwrap 2012-03-13 16:01:03 +00:00
Shish
d11dad3055 sup/sub support in bbcode 2012-03-13 16:00:25 +00:00
Shish
d6227ef1b3 #c123 is now the comment element directly, no need for parent() 2012-03-13 15:25:04 +00:00
Shish
8b78fce982 more forminess 2012-03-13 15:23:56 +00:00
Shish
947fbfd820 comment index -> comment/list, not post/list 2012-03-13 09:28:05 +00:00
Shish
bdf24c1f2a Merge branch 'master' of github.com:shish/shimmie2 2012-03-13 08:09:41 +00:00
Shish
028457ec32 parsing 2012-03-13 07:34:39 +00:00
Shish
9a0228720a truncate as a function, which works 2012-03-13 07:01:27 +00:00
Shish
dde5d4c9b5 html5 validation 2012-03-13 06:33:21 +00:00
Shish
ba46af2045 Merge branch 'master' of github.com:shish/shimmie2 2012-03-13 06:04:57 +00:00
Shish
f5c4c20f4b mass edit as its own test 2012-03-13 06:04:52 +00:00
Shish
16b232c857 user needs perm /and/ the image needs to be unlocked 2012-03-13 04:48:18 +00:00
Shish
f67b049176 allow logout from link 2012-03-12 18:04:06 +00:00
Shish
2ed73f9a68 user signup form 2012-03-12 18:03:46 +00:00
Shish
34d42d27f4 delete with images / with comments, and check auth token 2012-03-12 17:44:07 +00:00
Shish
0e262f5500 change_X -> edit_X for consistency 2012-03-12 17:29:03 +00:00
Shish
05f8d0d23e justify~ 2012-03-12 15:43:18 +00:00
Shish
41971f907f missed a bit 2012-03-12 05:36:39 +00:00
Shish
78d13ff214 many theme updates 2012-03-12 05:31:19 +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
98310df9ee nothing actually used this... 2012-03-12 03:28:24 +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
5803920bcc more forms 2012-03-11 15:53:19 +00:00
Shish
b7006e90db Merge branch 'master' of github.com:shish/shimmie2 2012-03-11 15:50:04 +00:00
Shish
4c0b2dcb39 Merge branch 'master' of github.com:shish/shimmie2 2012-03-11 15:49:52 +00:00
Shish
c78ad128bf forms 2012-03-11 15:49:40 +00:00
Shish
071b783f56 forms 2012-03-11 15:49:25 +00:00
Shish
e4c95d5b56 Merge branch 'master' of github.com:shish/shimmie2 2012-03-11 04:33:23 +00:00
Shish
9e65732ea1 mysql ignores the FK names anyway, so all they were doing was bothering me ~_~ 2012-03-11 01:52:25 +00:00
Shish
97eb527714 named constraints 2012-03-10 19:38:50 +00:00
Shish
89efc3b524 Merge branch 'master' of github.com:shish/shimmie2 2012-03-10 19:13:42 +00:00
Shish
6c459c8323 make it so 2012-03-10 19:13:41 +00:00
Shish
a2d2ceb015 foreign keys delete comments now 2012-03-10 19:07:40 +00:00
Shish
f62edc3e83 add FKs for comments 2012-03-10 19:07:02 +00:00
Shish
37672bc1ee comment schema wibbles 2012-03-10 18:57:35 +00:00
Shish
1bfa656e35 another unused function 2012-03-10 02:21:42 +00:00
Shish
5c36d996e0 test 404 handler's static files too 2012-03-10 02:19:04 +00:00
Shish
b5bca91bee toggler in default setup theme 2012-03-10 02:04:15 +00:00
Shish
a20245ff70 Merge branch 'master' of github.com:shish/shimmie2 2012-03-10 01:07:02 +00:00
Shish
eb8c15b9a0 whitespace 2012-03-09 22:08:55 +00:00
Shish
788f25a12d Merge pull request #168 from DakuTree/master
Shimmie API
2012-03-09 14:02:12 -08:00
Shish
1f07a273f6 move copy & pasted transload code into a shared function 2012-03-09 21:07:21 +00:00
Daku
f76955123f update source & rating if &update is set 2012-03-09 20:46:26 +00:00
Shish
126ed2ee78 example.com changed... 2012-03-09 20:01:51 +00:00
Shish
36226d3b15 normalised source display 2012-03-09 19:18:20 +00:00
Shish
5d3d4e8d76 test fixes 2012-03-09 18:56:06 +00:00