|
|
f20e53ea6f
|
find! does not exist - using find
|
2016-07-13 22:43:59 +02:00 |
|
|
|
681ef50495
|
Merge branch 'master' of git.workaround.org:chaas/debshots
|
2016-07-13 22:41:45 +02:00 |
|
|
|
13c42e8d6b
|
Adding package version to current screenshot upload
|
2016-07-13 22:41:39 +02:00 |
|
|
|
473346d9f3
|
Returning 404 if packages are not found
|
2016-07-13 14:30:21 +02:00 |
|
|
|
5ced4d3898
|
Cruft removed
|
2016-07-13 14:30:13 +02:00 |
|
|
|
82003ca1bf
|
Define cache expire times for JSON requests
JSON requests are very expensive. Make sure they are cached for long
enough.
|
2016-07-13 14:22:28 +02:00 |
|
|
|
df94be866e
|
Creating user session only when uploading a screenshot
This makes responses usually cacheable.
|
2016-07-13 14:22:03 +02:00 |
|
|
|
773548afc3
|
Merge branch 'master' of git.workaround.org:chaas/debshots
|
2016-07-12 20:32:36 +02:00 |
|
|
|
bb79e109c2
|
Legacy upload method for images from Debshots 1.x implemented
|
2016-07-12 20:31:09 +02:00 |
|
|
|
c0109eb6e7
|
json/packages-without-screenshots implemented
|
2016-06-28 17:09:17 +02:00 |
|
|
|
a90bb51b38
|
/json/packages and /json/screenshots implemented
|
2016-06-28 17:03:54 +02:00 |
|
|
|
b3d0b2dc06
|
JSON controller added. /json/package/:name implemented
|
2016-06-28 11:39:31 +02:00 |
|
|
|
205c624778
|
Delivering proper PNG 404 images for thumbnails and large images
|
2016-06-27 17:38:24 +02:00 |
|
|
|
0c4a0d9a3a
|
Joined thumbnail_with_version with thumbnail dev to remove redundant code
|
2016-06-27 16:00:28 +02:00 |
|
|
|
04c5009b5d
|
Simplification refactoring
|
2016-06-27 15:59:42 +02:00 |
|
|
|
bed96ed633
|
Renamed templates for list and grid view to avoid manual call of render()
|
2016-06-24 16:41:02 +02:00 |
|
|
|
9603550aab
|
/thumbnail-with-version/package/version implemented
|
2016-06-24 16:18:36 +02:00 |
|
|
|
458d1b668d
|
Boolean logic glitch fixed for when to return a 404
|
2016-06-16 10:45:11 +02:00 |
|
|
|
5d856c61e6
|
Properly return a 404 if an existing package has no screenshot
|
2016-06-16 10:42:04 +02:00 |
|
|
|
6002cd56e0
|
Authlogic cruft removed
|
2016-06-14 17:04:43 +02:00 |
|
|
|
5bffa5dfbb
|
Using redirect_to :back
|
2016-06-13 17:56:12 +02:00 |
|
|
|
0d3dfdff94
|
Moved approve_screenshot to packages controller
|
2016-06-13 17:55:59 +02:00 |
|
|
|
e46f2a3dff
|
Fixed query for screenshots to be moderated (fixes division by zero)
|
2016-06-13 17:55:38 +02:00 |
|
|
|
bd3167b699
|
Removed useless method approve_screenshot from moderate controller
|
2016-06-13 17:55:05 +02:00 |
|
|
|
df74c9e014
|
Moved screenshot approval code into model
|
2016-06-05 23:06:04 +02:00 |
|
|
|
d0d9977cc2
|
Search for both unapproved and markedfordelete screenshots
|
2016-05-18 18:40:07 +02:00 |
|
|
|
a992181cec
|
Added approval pending screenshots to moderation view
|
2016-05-16 23:45:05 +02:00 |
|
|
|
a153391615
|
Moved moderation code to new moderate controller
|
2016-04-14 16:49:17 +02:00 |
|
|
|
f12f61b23c
|
Show progressbar on moderation screen
|
2016-04-08 18:25:53 +02:00 |
|
|
|
9bb9cf1f5d
|
Added moderation, report and approval buttons for admins, uploaders and anonymous people
|
2016-04-07 18:44:12 +02:00 |
|
|
|
16999260ca
|
Dropdown on details page allows image management for users and admins
|
2016-04-07 17:01:00 +02:00 |
|
|
|
263f6cd33f
|
Allow users to delete their screenshots
|
2016-04-07 17:00:21 +02:00 |
|
|
|
fe8ae6feb7
|
Changed flash type to 'notice'
|
2016-04-07 16:59:26 +02:00 |
|
|
|
d70d2ee1ac
|
Allow deleting screenshots for the user, too
|
2016-04-07 16:59:09 +02:00 |
|
|
|
48ca75cb64
|
Secured deletion/moderation of screenshots
Only logged in users can do that.
|
2016-03-04 12:32:41 +01:00 |
|
|
|
cd5f34ba0e
|
Fixed showing package count on home and about pages
|
2016-03-04 11:27:18 +01:00 |
|
|
|
83259aab54
|
Controller users and user_sessions added
|
2016-02-26 17:34:36 +01:00 |
|
|
|
e6a0f15340
|
Removed "authlogic" completely. Let's try "devise".
|
2015-07-15 17:05:56 +02:00 |
|
|
|
ddeb49c672
|
Allow logging out even if you are not logged in
|
2015-07-14 18:52:12 +02:00 |
|
|
|
737ff62cfc
|
Trying to get authlogic running
|
2015-07-13 18:42:36 +02:00 |
|
|
|
c87011ff84
|
Session token/IP based user authentication added
|
2015-06-14 12:33:18 +02:00 |
|
|
|
4dcbd365ff
|
Writing log entry for each uploaded screenshot
|
2015-04-27 00:54:14 +02:00 |
|
|
|
19e51445fd
|
Showing information about failure or success of image uploads
|
2015-04-27 00:21:08 +02:00 |
|
|
|
e1bef18152
|
Create unique token for each user in the cookie session
|
2015-04-27 00:15:21 +02:00 |
|
|
|
e8c4694ef0
|
Added validations for uploaded screenshots.
Checks if Paperclip complained about an invalid file (e.g. no PNG)
Checks if the upload is a duplicate.
|
2015-04-26 01:42:22 +02:00 |
|
|
|
707d327765
|
TODO added
|
2015-04-23 22:34:30 +02:00 |
|
|
|
0382c09361
|
Refactored packages controller. Tidied up a lot. Same functionality.
|
2015-04-23 17:22:48 +02:00 |
|
|
|
c085df9eed
|
Implemented the /thumbnail/PACKAGE url
Returns a 160x120 thumbnail image if possible
Returns a dummy image and a 404 status code otherwise.
|
2015-04-19 12:56:58 +02:00 |
|
|
|
86e0a62c24
|
TODOs added
|
2015-04-19 11:33:41 +02:00 |
|
|
|
c691f60ef1
|
Cruft removed.
|
2015-04-19 01:10:57 +02:00 |
|