Commit graph

79 commits

Author SHA1 Message Date
339bb0427f Showing reviews on package's details page from Ubuntu 2016-08-16 12:50:03 +02:00
e2671d2545 Text search now properly weighted and ranked
Default order by 'name' removed so that ranking can actually work.
2016-08-12 16:40:12 +02:00
36ef94d763 Prevent empty report reasons for screenshots 2016-07-21 11:29:42 +02:00
8137dc788d Making version comparison more error-resilient 2016-07-13 23:46:27 +02:00
4fb322a25d Extra whitespace removed 2016-07-13 22:44:12 +02:00
91c2b327d1 Unused method removed 2016-07-13 14:22:38 +02:00
e864415a03 Docs added 2016-06-27 15:59:51 +02:00
bac90cbd2f Do not crash when sorting screenshots by version if the version is empty 2016-06-24 16:19:05 +02:00
6feaa53920 Added Package.best_screenshot_for_version 2016-06-23 00:17:27 +02:00
2d73e7a1b4 Do not show version in image caption 2016-06-22 18:10:23 +02:00
197c0a8b10 Screenshots were not sorted correctly by version - fixed 2016-06-21 17:55:34 +02:00
3be1846688 Added Package.screenshots_sorted_by_version 2016-06-21 16:54:10 +02:00
c2fe896cbc Show version along with description as screenshot caption 2016-06-21 16:53:42 +02:00
6002cd56e0 Authlogic cruft removed 2016-06-14 17:04:43 +02:00
9db16ab357 Consider reported screenshots for pending for moderation 2016-06-13 17:56:50 +02:00
cecb5f47cc Showing reason why a screenshot was reported 2016-06-13 17:56:26 +02:00
b30794884f screenshot.adminstatus added, debug info removed from admin dropdown 2016-06-06 15:56:16 +02:00
df74c9e014 Moved screenshot approval code into model 2016-06-05 23:06:04 +02:00
c9469709d6 Fixed class and instance methods for pending screenshots/packages 2016-04-14 16:49:46 +02:00
d4f3c2ecc5 Removed default sorting scope to avoid problems with group_by 2016-04-14 16:49:29 +02:00
f12f61b23c Show progressbar on moderation screen 2016-04-08 18:25:53 +02:00
16999260ca Dropdown on details page allows image management for users and admins 2016-04-07 17:01:00 +02:00
ba5a89a26a Moved screenshots_visible_to_user to model 2016-04-06 16:41:52 +02:00
6192e1bc3b Creating query to get screenshots visible to a user 2016-03-05 15:55:24 +01:00
53b297da1e Working on query to only display moderated or own uploads 2016-03-04 18:23:12 +01:00
3eeb9a63dc Using created_at instead of legacy 'uploaddatetime' field 2016-03-04 15:41:50 +01:00
51c6c99d61 Turned admin/moderation on details page into a dropdown 2016-03-04 12:32:24 +01:00
d7bfa0843f Added age_days method to display the upload age of a screenshot 2016-03-02 16:36:27 +01:00
83259aab54 Controller users and user_sessions added 2016-02-26 17:34:36 +01:00
35eb83448e Added "devise" for authentication. 2015-07-15 17:06:32 +02:00
e6a0f15340 Removed "authlogic" completely. Let's try "devise". 2015-07-15 17:05:56 +02:00
737ff62cfc Trying to get authlogic running 2015-07-13 18:42:36 +02:00
66ea039c10 Image uniqueness validation improved
Screenshots will be accepted now even if the same image
(determined by its image_fingerprint) exists on other packages.
However the upload will be rejected if the very same
screenshot exists on the same package.
2015-06-26 21:17:07 +02:00
a2178d8226 Merge branch 'master' of bitbucket.org:signum/debshots 2015-06-15 13:05:10 +02:00
3b056a2db8 Added authlogic and user schema 2015-06-15 13:04:29 +02:00
75eee8e3cc Path for importing debshots1 screenshots fixed 2015-06-14 23:11:02 +02:00
6c9607ffa8 Old PostgreSQL full-text search removed 2015-05-08 17:32:17 +02:00
5c31a94aef Devise removed. Broke tests. Trying another auth gem. 2015-05-03 13:31:13 +02:00
3988c7ddf3 Devise authentication added - no registration though 2015-05-02 16:16:29 +02:00
84b2af5f60 image_url() fixed. Wrong quotes. Interpolates path correctly now. 2015-05-02 11:56:27 +02:00
308c89c9ea Explanation for validator of unique images added 2015-04-27 00:54:57 +02:00
ca7065dd5c Ordering logs by date 2015-04-27 00:54:27 +02:00
3a17af689e Added unique validator that checks for duplicate image uploads 2015-04-27 00:20:25 +02:00
9377af7795 Added size limit of 5 MB for screenshots 2015-04-27 00:20:10 +02:00
7e1bf0d152 Screenshot validator uses string instead of regex 2015-04-27 00:19:47 +02:00
4c6beadd8e Show "No screenshots available" as dummy image now. 2015-04-27 00:19:24 +02:00
ac3d52a66e Adding Log model for database-based log messages 2015-04-27 00:15:55 +02:00
2aaa4714c1 Cruft removed 2015-04-26 01:40:41 +02:00
4a5a50dd9a Slightly improved the image status. Cruft removed. 2015-04-25 20:05:38 +02:00
86e0a62c24 TODOs added 2015-04-19 11:33:41 +02:00