Commit Graph

116 Commits

Author SHA1 Message Date
Parziphal
cf9cba40b6 Fully enabled Inline Images.
A little detail: the "Add image" button was moved to a new table row, so it stands out more.
Known bugs/errors:
- When cropping an animated GIF inline (with a secondary JPG inline), although the images are correctly cropped, an empty error is displayed.
2013-12-31 14:22:59 -05:00
Parziphal
3ca7ad5e94 Imagick wasn't creating JPG outputs.
Added a little comment regarding animated GIFs.
2013-12-31 12:01:35 -05:00
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
ba948f46a7 Moved assets compilation to the end.
Thus, in case of error, the assets can be compiled with the "assets compile:all" command.
2013-12-18 22:46:36 -05:00
Parziphal
b289ee6f53 updated readme 2013-12-07 15:37:27 -05:00
Parziphal
0e8359ba89 Installation is now made using CLI. 2013-12-07 15:35:14 -05:00
Parziphal
be797d2a17 fixed some GIF thumbnails resulting in "corrupt" images.
in order to do this, Imagick::coalesceImages() is called if the image to process is gif and has frames. this method slows down things, but ensures a good thumbnail.
2013-12-06 14:02:47 -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
baecd199a0 locale for post#moderate in static#more 2013-12-03 16:00:36 -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
d499dd7844 updated cached schema for ads 2013-12-02 09:25:12 -05:00
Parziphal
e7771f8667 fixed error on redirection in update action 2013-12-01 21:27:23 -05:00
Parziphal
2218817e42 updated readme 2013-12-01 21:26:48 -05:00
Parziphal
bfd9978032 added html option to advertisements 2013-12-01 21:26:35 -05:00
Parziphal
ae5952fc8c updated readme 2013-12-01 15:15:29 -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
248d95a4a0 reverted Post.resize_image to original 2013-11-21 14:04:29 -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
bfd32aed4c updated readme 2013-11-19 12:39:51 -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
f3934387cb added default_guest_name option 2013-11-19 11:40:30 -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
6fc7d4c02b more updating 2013-11-08 11:47:26 -05:00
Parziphal
fdb44ed398 updating 2013-11-08 11:42:19 -05:00
Parziphal
af73304164 updating 2013-11-08 11:40:39 -05:00
Parziphal
0545bde1a0 updating 2013-11-08 11:37:29 -05:00