Commit graph

399 commits

Author SHA1 Message Date
e6a0f15340 Removed "authlogic" completely. Let's try "devise". 2015-07-15 17:05:56 +02:00
4b4cbf4b88 User form fixed 2015-07-15 16:45:45 +02:00
fd74424f73 Fixed display of login form (- => = in slim) 2015-07-14 18:53:09 +02:00
aad4f0045a Added missing user registration form
This is just from the authlogic coding examples.
We are not using user registration (yet). So this will
likely be deleted again.
2015-07-14 18:52:47 +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
06f09c0486 Count updates/additions correctly. Add fields correctly. Various other fixes. 2015-06-28 15:12:43 +02:00
dade32145e Using .new instead of .create
Otherwise .create() would fail instantly because it does not
populate the fields during the creation and can't create a
valid object.
2015-06-28 15:11:39 +02:00
0ea7f96495 Parse keywords from Debian control file in a non-greedy way
Previously this:
Description: foo: bar
had been parsed into
"Description: foo" -> "bar"

Now it properly parses into
"Description" -> "foo: bar"
2015-06-28 15:09:39 +02:00
56f38bcdcf Make sure that a package has a valid name
If this contraint had been there I would have found a bug
in the import_debian Rake task much sooner.
2015-06-28 15:08:16 +02:00
8e890fbaa6 Actually updating package data.
Added debug printing which regexp matched.
2015-06-27 00:15:32 +02:00
f5d1353b93 Limiting width of dummy image in details view 2015-06-26 22:29:24 +02:00
458ef9566d Fixed style of subtitle in details view 2015-06-26 22:29:13 +02:00
6ef32e4bea Screenshot/Paperclip migration Rake task checks for validation errors 2015-06-26 21:18:56 +02:00
ea49d815dd Database on localhost is used for development. 2015-06-26 21:18:32 +02:00
bedd2c48d1 Fixed data migration script
Development database is "localhost" again.
rsync is sped up by just checking the size of the files
Automatic db:migrate is called at the end.
2015-06-26 21:18:17 +02:00
cefa804f54 Add dummy text in list view if a long description is missing. 2015-06-26 21:17:30 +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
49d9e167ac New Gem versions 2015-06-26 21:15:38 +02:00
e336d695b9 Ignoring screenshot files (also from migration of debshots 1.x) 2015-06-26 21:15:31 +02:00
5eaac970fb Unused CSS code commented out 2015-06-26 21:15:14 +02:00
a2178d8226 Merge branch 'master' of bitbucket.org:signum/debshots 2015-06-15 13:05:10 +02:00
806a7cbcee Added rake task to remove orphaned screenshot records 2015-06-15 13:05:01 +02:00
3b056a2db8 Added authlogic and user schema 2015-06-15 13:04:29 +02:00
a9b7e50209 Set development database to localhost again 2015-06-15 13:03:47 +02:00
fa47827f7a Fixed routing for packages containing a dot in their names 2015-06-14 23:12:24 +02:00
2b64bd4b80 Legacy screenshots path removed from config 2015-06-14 23:11:41 +02:00
75eee8e3cc Path for importing debshots1 screenshots fixed 2015-06-14 23:11:02 +02:00
4abfb29599 Merge branch 'master' of bitbucket.org:signum/debshots
Conflicts:
	README.Developer
	app/views/packages/details.slim
	bin/get-data-from-old-live-server.sh
2015-06-14 12:36:58 +02:00
8f5cd6f4e4 Fixed screenshots path when importing from debshots1 installation 2015-06-14 12:34:37 +02:00
c6fb7f1974 Hint added on the installation of -dev packages 2015-06-14 12:34:19 +02:00
0e52eecb2b Added Javascript engine 2015-06-14 12:33:59 +02:00
c87011ff84 Session token/IP based user authentication added 2015-06-14 12:33:18 +02:00
31afd3635f Upload link/path fixed 2015-05-08 17:32:33 +02:00
6c9607ffa8 Old PostgreSQL full-text search removed 2015-05-08 17:32:17 +02:00
bee641baf1 Showing package long description properly 2015-05-08 17:31:55 +02:00
239a4758c0 Dropping old "admins" table in favor of new User model. 2015-05-03 15:08:23 +02:00
f73353d420 Removed Devise cruft. 2015-05-03 14:37:45 +02:00
be788fa45b Debugger gem added
Use "debugger" in the code to run it
2015-05-03 14:37:33 +02:00
5c31a94aef Devise removed. Broke tests. Trying another auth gem. 2015-05-03 13:31:13 +02:00
567d61ce1e Broken fixtures commented out 2015-05-03 13:30:16 +02:00
a2acb87cfc Devise schema removed 2015-05-03 13:30:07 +02:00
cd6fb9ca23 Moved flash messages to general layout 2015-05-02 16:16:40 +02:00
3988c7ddf3 Devise authentication added - no registration though 2015-05-02 16:16:29 +02:00
9f0a81152f Complete deployment information 2015-05-02 12:37:00 +02:00
10ad679b4d Apply shadow effect even to dummy image 2015-05-02 12:23:23 +02:00
84b2af5f60 image_url() fixed. Wrong quotes. Interpolates path correctly now. 2015-05-02 11:56:27 +02:00
bd03b76273 Deployment notes added. 2015-05-02 11:37:14 +02:00
6cd34f49a4 Rubyracer Javascript interpreter added 2015-05-02 11:36:53 +02:00
8bf4190b0f Using localhost Postgres instance. Populating test and dev, too. 2015-05-02 11:36:28 +02:00