Commit Graph

12 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
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
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
e7771f8667 fixed error on redirection in update action 2013-12-01 21:27:23 -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
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
3fd8924f0e return to corresponding forum page after editing a reply (#19) 2013-11-17 01:44:01 -05:00
Parziphal
0545bde1a0 updating 2013-11-08 11:37:29 -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