Commit Graph

249 Commits

Author SHA1 Message Date
Parziphal
0cf2e4a481 Changed ApplicationController#notice
I realized that the notice cookie was being sent right when calling the notice method, while in Moebooru the cookie is actually sent on the next request.
2013-12-31 10:20:27 -05:00
Parziphal
33e86da790 Adding support to Inline Images 2013-12-31 02:32:12 -05:00
Parziphal
272fc76629 fixed User::is_level... methods when anonymous
they where returning true in some cases (like when calling is_unactivated).
they now return false if anonymous.
2013-12-06 05:13:03 -05:00
Parziphal
12e3a57053 more changes related to advertisements.
added position to advertisements. with it, one can choose to either show an horizontal add only at top, bottom or both.
removed can_see_ads check from AdvertisementsHelper::print_advertisement() because it's already checked before calling it.
horizontal-bottom ads in post#index are centered.
removed "Reset hit count" checkbox in ads#edit.
Width and Height in ads form are now "number" fields.
Width and Height must now be set also for "Html" ads.
made ads#show a little nicer.
ads#create and ads#update redirect to ads#index if success.
some other related changes.

made ad#show a little nicer
2013-12-05 15:09:26 -05:00
Parziphal
ff28733e94 moved ad in post#index below pagination 2013-12-05 09:28:37 -05:00
Parziphal
e2533565bc more changes to advertisements
added two new ad spots, bottom of post#index and post#show.
spots can be selectively activated in the booru config. by default,
only original spots are active.
2013-12-04 15:19:11 -05:00
Parziphal
11d4f3772e enabled hash-key on cache 2013-12-03 22:51:09 -05:00
Parziphal
781ecab67c added link to Post->Moderate 2013-12-02 19:23:42 -05:00
Parziphal
60e4a1229f moved Dmails per-hour limit to config.
also fixed error that caused users to be able to send limit + 1 dmails.
2013-12-02 17:29:26 -05:00
Parziphal
c75071b77c fixed error in #diff 2013-12-02 16:26:13 -05:00
Parziphal
cd55735461 using jpeg's width and height in case sample's size isn't available.
this will fix the error in post#show of the image having 0 width and height
(thus not showing) if the image doesn't have a sample.
2013-12-02 10:59:03 -05:00
Parziphal
322e190a57 removed br after ad 2013-12-02 10:03:06 -05:00
Parziphal
8de2c5ed67 fixed display error in ads form 2013-12-02 09:43:52 -05:00
Parziphal
e7771f8667 fixed error on redirection in update action 2013-12-01 21:27:23 -05:00
Parziphal
bfd9978032 added html option to advertisements 2013-12-01 21:26:35 -05:00
Parziphal
fcb105ed05 fixed fullMessages 2013-12-01 12:20:16 -05:00
Parziphal
ffe6a41300 fixed AdvertisementsController filters 2013-11-29 18:13:31 -05:00
Parziphal
92494e80d5 enabled Advertisements 2013-11-21 14:08:11 -05:00
Parziphal
a04e2e590c use jQuery's 'on' method 2013-11-21 14:03:07 -05:00
Parziphal
3f70df54ee cached main menu 2013-11-21 14:02:16 -05:00
Parziphal
e26647dd41 removed post/referral partial 2013-11-21 14:00:42 -05:00
Parziphal
0375132f0b added page title to user#home 2013-11-20 15:59:13 -05:00
Parziphal
fb7177093b merged dev 2013-11-19 15:16:56 -05:00
Parziphal
8d1c326f32 fix on cache fetch 2013-11-19 12:34:50 -05:00
Parziphal
799f1d0a5c enabled more cache-related code 2013-11-19 12:31:38 -05:00
Parziphal
0ab3ef62b8 Added database tables for advertisements, controller is still missing.
Added IP columns to dmails, forum_posts, comments.
2013-11-19 10:54:12 -05:00
Parziphal
ee3b6c37ac Advertisement + schema 2013-11-17 23:33:10 -05:00
Parziphal
3fd8924f0e return to corresponding forum page after editing a reply (#19) 2013-11-17 01:44:01 -05:00
Parziphal
69b6c0cbcd fix tag sort upon save (#25) 2013-11-17 01:24:38 -05:00
Parziphal
c849ad1da7 enabled ga code 2013-11-13 15:21:28 -05:00
Parziphal
41acd01798 enabled ga code 2013-11-13 15:18:22 -05:00
Parziphal
fd1b89bace fixed Post::get_sample_width/height 2013-11-13 12:55:23 -05:00
Parziphal
3dd3c8c81f callbacks, set_avatar fix 2013-11-13 12:53:33 -05:00
Parziphal
0545bde1a0 updating 2013-11-08 11:37:29 -05:00
Parziphal
1ae6c3183b fixed Tag::mass_edit 2013-11-05 11:01:32 -05:00
Parziphal
63c49877e9 test 2013-11-03 15:36:57 -05:00
Parziphal
671dccc07c sort cached_tags before saving 2013-11-03 14:25:22 -05:00
Parziphal
734c9a2e59 fixed dmails 2013-11-03 13:34:02 -05:00
Parziphal
730d4d77c5 fixed Post:: setter 2013-11-03 13:15:36 -05:00
Parziphal
c8ff2560ea Post had to be saved again after create 2013-11-03 12:17:11 -05:00
Parziphal
d04b0ad012 wiki#preview showed layout 2013-11-03 11:20:37 -05:00
Parziphal
2183fa9186 fixed Tag::update_cache() 2013-11-03 11:11:29 -05:00
Parziphal
037393a237 fixed wiki#edit 2013-11-03 10:57:33 -05:00
Parziphal
4385992e00 added page title to forum#show 2013-11-03 10:54:13 -05:00
Parziphal
ad610e7e46 added page title to comment#show 2013-11-03 10:52:40 -05:00
Parziphal
d1eab7ee6f fixed post#deleted_index 2013-11-03 10:31:27 -05:00
Parziphal
e6dab194cd update to news-ticker 2013-10-27 11:02:35 -05:00
Parziphal
14229e7a84 fixes for xml requests 2013-10-26 23:29:33 -05:00
Parziphal
13227f0bca added files 2013-10-26 18:06:58 -05:00