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
5f02bd4708
Disallowing correct paths now
2016-07-13 15:07:28 +02:00
6ba2c3cbea
Favicon fixed
2016-07-13 15:06:56 +02:00
fcbe621ea1
Loading fonts from our own site instead of from Google
...
...for privacy reasons
2016-07-13 15:06:09 +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
91c2b327d1
Unused method removed
2016-07-13 14:22:38 +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
c27942c60b
Showing caption properly below the image
2016-07-12 20:31:33 +02:00
8bf26ea1a5
Added Javascript confirmation upon deleting images
2016-07-12 20:31:24 +02:00
bb79e109c2
Legacy upload method for images from Debshots 1.x implemented
2016-07-12 20:31:09 +02:00
88728c0bba
Keep leading spacesd when parsing the long description
2016-06-29 21:50:29 +02:00
8dc2514852
Added partial to display long description properly
2016-06-29 21:49:32 +02:00
73c2361471
Cruft removed
2016-06-29 21:48:25 +02:00
670df2f277
Fixed bug that parsed description fields incorrectly
...
Example:
Description-en: 389 Directory Server suite - server
Based on the Lightweight Directory Access Protocol (LDAP), the 389
Directory Server is designed to manage large directories of users and
resources robustly and scalably.
.
Its key features include:
* four-way multi-master replication;
* great scalability;
* extensive documentation;
* Active Directory user and group synchronization;
* secure authentication and transport;
* support for LDAPv3;
* graphical management console;
* on-line, zero downtime update of schema, configuration, and
in-tree Access Control Information.
The "Its key features include:" was mistaken as a key.
2016-06-29 10:43:01 +02:00
4d65c071f9
Cruft removed
2016-06-29 10:42:22 +02:00
b3625f0a89
Missing jbuilder file added for /json/packages-without-screenshots
2016-06-28 17:12:56 +02:00
1928f8d2a8
Caching configured using file_store
2016-06-28 17:12:32 +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
0c439359b9
Adding DIV to make sure that the image caption is always below the image
2016-06-27 18:06:29 +02:00
c69a4270e9
Fixed dropdown to allow users to delete their own screenshots
2016-06-27 18:06:11 +02:00
54ee5d80a7
Cruft removed
2016-06-27 18:05:56 +02:00
205c624778
Delivering proper PNG 404 images for thumbnails and large images
2016-06-27 17:38:24 +02:00
d6bfba2e83
Added package views that got lost during renaming them
2016-06-27 16:00:57 +02:00
0c4a0d9a3a
Joined thumbnail_with_version with thumbnail dev to remove redundant code
2016-06-27 16:00:28 +02:00
e864415a03
Docs added
2016-06-27 15:59:51 +02:00
04c5009b5d
Simplification refactoring
2016-06-27 15:59:42 +02:00
21c40f92d3
Typo fixed
2016-06-27 15:59:15 +02:00
bed96ed633
Renamed templates for list and grid view to avoid manual call of render()
2016-06-24 16:41:02 +02:00
69499addaf
Working nginx vhost configuration added to docs
2016-06-24 16:27:14 +02:00
19257a7656
Added legacy URLs /without_screenshots and /with_screenshots
2016-06-24 16:27:04 +02:00
bac90cbd2f
Do not crash when sorting screenshots by version if the version is empty
2016-06-24 16:19:05 +02:00
9603550aab
/thumbnail-with-version/package/version implemented
2016-06-24 16:18:36 +02:00
6feaa53920
Added Package.best_screenshot_for_version
2016-06-23 00:17:27 +02:00
ff254f8e00
Typo fixed
2016-06-22 18:10:43 +02:00
a44efc8007
Prepared back link (still ugly) in details view
2016-06-22 18:10:33 +02:00
2d73e7a1b4
Do not show version in image caption
2016-06-22 18:10:23 +02:00
f2552736dc
Drop shadow added to images in details view
2016-06-22 18:10:06 +02:00
7914d09676
Dealing with empty/nil version/description fields properly.
2016-06-22 18:09:41 +02:00
197c0a8b10
Screenshots were not sorted correctly by version - fixed
2016-06-21 17:55:34 +02:00
b947de24f3
Rake task set_empty_screenshot_version_to_zero added
2016-06-21 17:23:24 +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
4a99d84919
Do not serve static files from the application in production mode
2016-06-21 10:58:34 +02:00
e446ec57b1
Enable X-Accel-Redirect for nginx production use
2016-06-16 12:11:00 +02:00