Régis Hanol
4866f4d8f5
FIX: N+1 query for avatars
2013-08-14 15:25:05 +02:00
Régis Hanol
3524b90d6a
FIX: avatars in quotes/oneboxes
...
Avatars in quotes/oneboxes are still pointing to the old
`/users/:username/avatar(/:size)` route.
So, this adds back the old avatar route for the transition period.
2013-08-14 12:20:05 +02:00
Régis Hanol
bbd05f37d2
create thumbnails by defaults
...
changed "create_thumbnails" default value to `true`
2013-08-07 22:18:50 +02:00
Régis Hanol
71c33086b4
updated NGINX sample configuration
2013-08-13 22:09:44 +02:00
Régis Hanol
e397c14702
updated locales
2013-08-13 22:09:36 +02:00
Régis Hanol
9a7df140b7
updated model annotations
2013-08-13 22:09:27 +02:00
Régis Hanol
92b0cfe3d3
cleaned up non-used code
2013-08-13 22:09:10 +02:00
Régis Hanol
0cc37ca331
generate avatars rake task
2013-08-13 22:08:43 +02:00
Régis Hanol
c867b67a0b
custom avatar support
2013-08-13 22:08:29 +02:00
Régis Hanol
e5e3164ea1
added the "allow uploaded avatars" site setting
2013-08-13 22:06:22 +02:00
Régis Hanol
95a2405c9e
larger avatar in the "in reply to" box
...
This one is for @BrentleyJones (cf.
http://meta.discourse.org/t/small-avatar-in-in-reply-to-box/8761 )
2013-08-13 22:04:38 +02:00
Régis Hanol
e90bbc6a6c
don't display debug information when running tests
2013-08-14 00:12:25 +02:00
Régis Hanol
4ec9b3ea39
fix: git-version isn't showing up
2013-08-02 23:25:57 +02:00
Régis Hanol
faeb4a9ebd
enhance upload selector
...
- Change the icon on the button to a file when attachments are enabled
- Display the list of allowed extensions in the upload selector
- FIX : regexps for validating uploads weren't escaping the dots
2013-08-02 01:30:18 +02:00
Régis Hanol
1e2f151860
warns sysadmin to rebake all the posts
...
when changing the hostname
2013-08-01 22:24:55 +02:00
Régis Hanol
ed9417fa3b
enable thumbnailing on S3
...
- added url to optimized image model
- refactored s3_store & local_store
2013-07-31 23:26:34 +02:00
Régis Hanol
36b6b8d78e
removed old rake task until it's updated
2013-07-31 23:24:16 +02:00
Régis Hanol
3e3793cf74
update fog gem to latest
2013-07-31 23:23:07 +02:00
Régis Hanol
be9217d4c8
add server-side filesize check on uploads
2013-07-24 00:54:41 +02:00
Régis Hanol
6474e7df97
uploads selector texts is now different when attachments are enabled
2013-07-22 23:15:23 +02:00
Régis Hanol
dbf6fb0232
change the pipe into a bullet in the lightbox overlay
2013-07-22 22:41:08 +02:00
Régis Hanol
2986798ba7
add newuser-max-attachments setting
2013-07-22 02:39:17 +02:00
Régis Hanol
418d8c7377
FIX: lightbox is not closed when using the back button
2013-07-22 01:21:43 +02:00
Régis Hanol
649ab85740
FIX: thumbnailing wasn't working with CDN enabled
2013-07-22 00:37:23 +02:00
Régis Hanol
945ee5dda0
opps. missed a comment
2013-07-20 12:13:31 +02:00
Régis Hanol
613e31d3ef
added a warning regarding the case of the s3_upload_bucket setting
...
until we get proper setting validation.
2013-07-20 11:54:21 +02:00
Régis Hanol
33977252c9
rollback to previous s3 syntax (ie. subdomains)
2013-07-20 11:30:36 +02:00
Régis Hanol
8406a4230c
FIX: click tracking on attachments wasn't working
2013-07-19 01:27:09 +02:00
Régis Hanol
46ff98f2d3
fix composer toolbar upload title
2013-07-17 01:21:27 +02:00
Régis Hanol
5c27dd175a
make sure we handle both s3 url formats
2013-07-17 00:32:09 +02:00
Régis Hanol
7ae2fe304d
renamed s3 to s3_store
2013-07-17 00:27:52 +02:00
Régis Hanol
f40cad0f4b
changed s3 urls to using the folder convention
2013-07-17 00:27:52 +02:00
Régis Hanol
3136638b4b
FIX: CDN doesn't work with S3
2013-07-16 22:16:33 +02:00
Régis Hanol
5ce05ff5cb
adds the max_attachment_size_kb setting
...
so that we can specify a different max upload size for attachments and images.
2013-07-16 02:01:36 +02:00
Régis Hanol
00d7d8b809
ooops, fixed CookedPostProcessor specs
2013-07-15 00:18:17 +02:00
Régis Hanol
36e6345eee
change the icon in the composer toolbar with a more generic upload icon
...
also changed all references to "images uploads" to a "uploads"
2013-07-14 23:44:50 +02:00
Régis Hanol
3397c2235f
display the size of the attachment in the preview
...
instead of adding it during post processing
2013-07-14 12:28:24 +02:00
Régis Hanol
6f2ce93ab2
FIX: create an upload when FastImage throws an exception
...
FastImage might throw an exception when it isn't able to recognize a
file as being an image (ie. happens when users changes the extension
manually)
Also improved upload specs a lot
2013-07-13 23:42:19 +02:00
Régis Hanol
360695bb0a
update front-end specs
2013-07-10 22:59:54 +02:00
Régis Hanol
b94d26d798
update back-end specs
2013-07-10 22:59:54 +02:00
Régis Hanol
6beb12e778
update nginx.sample.conf to take attachmetns into account
2013-07-10 22:59:54 +02:00
Régis Hanol
ac41e94619
refactor optimized_image a bit
2013-07-10 22:59:54 +02:00
Régis Hanol
ffb9a1250a
don't track via AJAX when clicking on local attachments
2013-07-10 22:59:53 +02:00
Régis Hanol
da614597fe
post process attachments
2013-07-10 22:59:53 +02:00
Régis Hanol
1f8eaa6ca3
display correct template when attachment or image
2013-07-10 22:59:53 +02:00
Régis Hanol
27ab5f471c
support arbitrary attachments
2013-07-10 22:59:53 +02:00
Régis Hanol
e8c1a81e87
do not create global variables
2013-07-10 22:59:53 +02:00
Régis Hanol
1f263c57fd
fool jshint
2013-07-09 02:14:35 +02:00
Régis Hanol
c1acce17cc
removed unnecessary console.log
2013-07-09 02:10:55 +02:00
Régis Hanol
924c5d65cb
wrapped I18n.lookup to inject the "js" namespace
2013-07-09 02:10:55 +02:00
Régis Hanol
f9b2738ae1
add label for boolean setting
2013-07-08 01:43:30 +02:00
Régis Hanol
ac7253a938
refactor CookedPostProcessor & specs
2013-07-08 01:39:08 +02:00
Régis Hanol
45c227c81c
fix column name in admin email logs
2013-07-06 22:29:16 +02:00
Régis Hanol
6251935b1e
removed auto_link_images_wider_than setting
2013-07-06 22:19:16 +02:00
Régis Hanol
6d1d887b96
relaunch all the specs when a fabricator is modified
2013-07-06 19:05:23 +02:00
Régis Hanol
7c82d6d4d0
FIX: new users are allowed to upload images to your servers
2013-07-05 00:44:18 +02:00
Régis Hanol
c42cb6ef48
add a comment in database.yml template files indicating that Sidekiq must be restarted after changes
2013-07-04 23:31:36 +02:00
Régis Hanol
5a56af03bc
FIX: can no longer paste image in Chrome post editor
2013-07-04 00:39:23 +02:00
Régis Hanol
6723ba6014
Add a list of for file uploads
2013-07-01 02:19:03 +02:00
Régis Hanol
4de88814d2
bumped default max upload size to 2048Kb
2013-06-30 11:35:33 +02:00
Régis Hanol
5df9370ebe
Update search_result.rb
...
Fix code styling
2013-06-29 21:45:15 +02:00
Régis Hanol
121d08e25f
FIX: updating needs a restart
2013-06-29 03:49:54 +02:00
Régis Hanol
9656759ecf
fix deep link to post in search
2013-06-29 03:22:17 +02:00
Régis Hanol
2ccf339437
Removed a debugging "put"
2013-06-28 23:16:13 +02:00
Régis Hanol
31bf1c4b2e
FIX: can't drag selected text
2013-06-28 23:10:39 +02:00
Régis Hanol
689b296204
FIX: urls in BBCode tags weren't working
2013-06-27 00:42:11 +02:00
Régis Hanol
72745d257d
provide a way to give a default filename to pasted images in the lightbox overlay
2013-06-26 21:54:08 +02:00
Régis Hanol
d3eae56e71
soften the lightbox overlay
2013-06-26 02:44:20 +02:00
Régis Hanol
573c4b41f0
reverting changes to the markdown conversion pipeline order
2013-06-25 17:13:41 +02:00
Régis Hanol
52b8e6014b
forgot to commit the test
2013-06-24 22:56:03 +02:00
Régis Hanol
3d2ef18bb7
move BBCode formating before the markdown conversion
2013-06-24 22:25:08 +02:00
Régis Hanol
da52ac88b0
do not throw exception when parsing a bad URI
2013-06-24 21:38:00 +02:00
Régis Hanol
361062d53e
do not lightbox oneboxed images
2013-06-24 02:10:21 +02:00
Régis Hanol
08aa23f0ca
FIX: lightbox wasn't working when using s3 upload
2013-06-22 13:38:42 +02:00
Régis Hanol
40f93bda8b
make sure we trigger the post process when rebaking the posts
2013-06-21 18:30:57 +02:00
Régis Hanol
787555431c
add lightbox overlay
2013-06-21 18:30:57 +02:00
Régis Hanol
8a751e6e44
make sure we also delete optimized images
2013-06-21 09:34:02 +02:00
Régis Hanol
da6f627c2f
add background color on suggested topics list header
2013-06-20 23:22:46 +02:00
Régis Hanol
8a26b86739
added image magick alert
2013-06-19 22:36:56 +02:00
Régis Hanol
9036738ba2
added s3 file uploads alert
2013-06-19 22:11:11 +02:00
Régis Hanol
4a17d6dca6
added a rake task to clean orphan uploaded files
2013-06-19 21:51:41 +02:00
Régis Hanol
7bdc616040
keep uploads reverse index up to date
2013-06-17 22:46:48 +02:00
Régis Hanol
ae3543872c
renamed the sha column to the proper sha1
2013-06-17 22:16:14 +02:00
Régis Hanol
1051b8de84
removed useless ignored directories
2013-06-17 22:14:36 +02:00
Régis Hanol
af45b5a11e
proper column naming
...
silly schemaless database habits are hard to kill
2013-06-17 04:02:17 +02:00
Régis Hanol
454636abf1
annotate models
2013-06-17 02:49:34 +02:00
Régis Hanol
510bac4b27
refactored a bit & tested thumbnails creation
2013-06-17 02:49:34 +02:00
Régis Hanol
cc9e0ec80a
create thumbnails when needed
2013-06-17 02:49:34 +02:00
Régis Hanol
d4c3fe4e6a
added create_thumbnails? site setting
...
defaults to `false`
2013-06-17 02:49:34 +02:00
Régis Hanol
5de03814fb
created optimized_image model
2013-06-17 02:49:34 +02:00
Régis Hanol
2c3f757951
moved has_been_uploaded and uploaded_regex to the Upload model
2013-06-17 02:49:34 +02:00
Régis Hanol
c11f4456ae
cleaned up CookedPostProcessor and improved specs
2013-06-17 02:49:34 +02:00
Régis Hanol
8a98310cf9
make sure we only do the work once
2013-06-17 02:49:34 +02:00
Régis Hanol
f94e4ffdcb
added 'uploads:backfill_shas' rake task
2013-06-17 02:49:33 +02:00
Régis Hanol
6c4554b941
identifies all uploads with the SHA1 hash of the file content
2013-06-17 02:49:33 +02:00
Régis Hanol
6ea91b4416
remove useless upload topic direct association
2013-06-17 02:49:33 +02:00
Régis Hanol
037f62928b
add proper post_uploads reverse index
2013-06-13 23:44:24 +02:00
Régis Hanol
2e2553c18c
less brittle specs to os-specific line endings
2013-06-13 11:09:11 +02:00
Régis Hanol
770c1faeb1
added a reverse index of user uploads + rake task
2013-06-13 01:43:50 +02:00
Régis Hanol
ba3d07ddcb
replaced colorbox with magnific popup lightbox
2013-06-12 00:32:48 +02:00