Rasmus Kaj
0d4a2933ff
Use diesel 1.0.0.
2018-01-04 00:15:17 +01:00
Rasmus Kaj
113e003fbf
Postrelease.
2018-01-03 23:36:59 +01:00
Rasmus Kaj
1d686e3a48
Release 0.4.4.
2017-12-30 23:22:38 +01:00
Rasmus Kaj
b702379309
Limit clap version.
...
To avoid problem with up-to-date bitflags on rustc 1.19.
2017-12-30 21:29:30 +01:00
Rasmus Kaj
b60e929cac
Improve some if let code.
2017-12-30 21:17:29 +01:00
Rasmus Kaj
13fed14a0b
Specify rand version.
2017-12-30 15:29:09 +01:00
Rasmus Kaj
b1a8360e5c
Use flate2 1.x.
...
There was a slight API change.
2017-12-07 07:17:09 +01:00
Rasmus Kaj
a14c9f9279
Lock r2d2 at version used by r2d2-diesel.
2017-11-28 00:28:51 +01:00
Rasmus Kaj
3071431452
Use the slug crate for generating slugs.
...
Rather than having to keep on adding special cases in my own code.
2017-11-26 22:04:16 +01:00
Rasmus Kaj
a63e9a3258
Postrelease.
2017-11-25 11:35:44 +01:00
Rasmus Kaj
9eb61cda29
Release version 0.4.2.
2017-11-25 02:43:37 +01:00
Rasmus Kaj
4286a3b6de
Postrelease.
2017-11-21 18:53:11 +01:00
Rasmus Kaj
269f06e0b4
Release 0.4.0
2017-11-20 17:09:56 +01:00
Rasmus Kaj
a240e9aecb
Postrelease.
2017-11-14 20:27:28 +01:00
Rasmus Kaj
2eeb8136ce
Release 0.3.6.
2017-11-11 23:58:55 +01:00
Rasmus Kaj
18ddb04d65
Remove readkpa subcommand.
...
My old kphotoalbum database is no longer relevant, rphotos is
the main soruce now and should not be overridden.
The readkpa subcomand was never intended for general consumption
anyway, it was hardcoded to match configurations in my kphotoalbum
setup.
2017-11-07 23:34:19 +01:00
Rasmus Kaj
a2af66366d
Postrelease.
2017-11-07 07:32:40 +01:00
Rasmus Kaj
49bdf9c945
Release 0.3.4.
2017-11-06 20:12:57 +01:00
Rasmus Kaj
94a5654386
Postrelease.
2017-11-06 18:09:50 +01:00
Rasmus Kaj
f53739fcc3
Release 0.3.2
2017-11-05 23:54:42 +01:00
Rasmus Kaj
8fb8d991dd
Add UI to add tags to images.
2017-11-05 23:03:55 +01:00
Rasmus Kaj
3c7ffbc4d4
Update ructe.
2017-11-05 16:51:52 +01:00
Rasmus Kaj
b7ffbe647e
Lock image and xml-rs versions.
...
Avoid updating bitflags dependency to 1.0.0, which does not
support rustc 1.19.0 (which is what I currently have on my
FreeBSD server).
2017-10-23 12:39:27 +02:00
Rasmus Kaj
47eefbab74
Postrelease.
2017-10-23 11:01:33 +02:00
Rasmus Kaj
bea801257c
Release version 0.3.0.
2017-09-27 17:13:27 +02:00
Rasmus Kaj
16a1b75643
Cleanup some more.
...
Get rid of lib.rs, and move main entry point to main.rs.
2017-09-02 00:05:44 +02:00
Rasmus Kaj
ce1e9c6190
Update some dependencies.
2017-09-01 23:36:08 +02:00
Rasmus Kaj
8131f5e5ec
Merge server and adm to single binary.
2017-09-01 23:14:17 +02:00
Rasmus Kaj
d52e874645
Add options for pidfile usage.
2017-08-15 19:54:22 +02:00
Rasmus Kaj
f78966682a
Support "next" parameter in login form.
2017-08-03 12:50:01 +02:00
Rasmus Kaj
f3be8efeb4
Postrelease.
2017-08-02 13:53:54 +02:00
Rasmus Kaj
7447f5de48
Release version 0.2.0.
2017-08-01 11:08:15 +02:00
Rasmus Kaj
24a6783c4b
Update nickel, hyper and nickel-jwt-session.
2017-07-30 00:53:50 +02:00
Rasmus Kaj
7193047a7d
Copy the code for nickel_diesel.
...
To much problem with versions, the nickel_diesel crate isnt
maintained, so just copy the code here since it is short.
2017-07-27 18:30:17 +02:00
Rasmus Kaj
161e9c4df9
Up-to-date rexif takes path arguments.
2017-06-26 23:26:36 +02:00
Rasmus Kaj
d4ade480d6
Use ructe 0.3.2, with mime support.
2017-06-23 17:13:44 +02:00
Rasmus Kaj
09c6a5131e
Update diesel to 0.12.
2017-05-12 16:39:23 +02:00
Rasmus Kaj
86616719e1
Remove rustc-serialize.
...
It was only needed for mustache, which I no longer use. (Both
mustache and rustc-serialize is still dependencies of nickel, but
that's ok as long as I dont have to touch them in my code.)
2017-05-12 14:02:41 +02:00
Rasmus Kaj
ab57b6ed91
Update nickel-jwt-session.
2017-05-12 13:26:36 +02:00
Rasmus Kaj
5ea5a9bd90
Update ructe.
...
It now supports adding static sass files, so remove direct dependency
on rsass.
2017-05-08 07:09:22 +02:00
Rasmus Kaj
c4e97948c6
Avoid version-spreading diesel.
2017-02-11 11:47:18 +01:00
Rasmus Kaj
f3f47268f6
Lock chrono version.
...
It must match the version used by nickel.
2017-02-08 18:41:58 +01:00
Rasmus Kaj
eada496c5b
Use slices in templates.
2017-02-05 12:08:38 +01:00
Rasmus Kaj
31dae7177d
Stay with diesel 0.9.
...
I guess it's easier to just stay on diesel version 0.9 until I have
rust 1.15 everywhere and can take advantage of the fact that diesel
should work nicer on stable rust.
2017-02-04 11:47:12 +01:00
Rasmus Kaj
8cd215cdc2
Improve handling of static files.
...
Use static files handling from updated ructe rather than local
handling, and use rsass rather than sass-rs and sass-sys.
Static files are now kept in the binary (no more need to access the
build directory at runtime). Also, there is an admin command to save
the static files to a directory, for the benefit of fronting web
servers and backwards compatibility.
2017-01-29 19:03:35 +01:00
Rasmus Kaj
698fb2c23b
Update dependencies.
...
No direct build dependency on syntex and dotenv makes things easier.
2017-01-20 07:10:40 +01:00
Rasmus Kaj
d10343e0cb
Include readkpa in rphotosadm.
2016-11-27 00:54:08 +01:00
Rasmus Kaj
7354707486
Include findphotos in rphotosadm.
2016-11-26 11:31:21 +01:00
Rasmus Kaj
5afd58086d
Include makepublic in rphotosadm.
...
Another separate binary merged into the general adm binary.
2016-11-24 22:42:59 +01:00
Rasmus Kaj
e5b5c28d5e
Move user administration into rphotosadm.
2016-11-21 08:45:54 +01:00
Rasmus Kaj
b38ac8c661
Start moving towards a single adm command.
2016-11-20 21:33:16 +01:00
Rasmus Kaj
e0ce981b8d
Merge branch 'master' into feature/memcached-rs
2016-11-20 16:58:46 +01:00
Rasmus Kaj
f711b136ac
Dont print empty data on details page.
2016-11-20 16:58:11 +01:00
Rasmus Kaj
0d1285da37
Try memcached-rs.
2016-11-03 17:18:07 +01:00
Rasmus Kaj
e2784cc75c
Update dependencies.
2016-10-28 00:44:30 +02:00
Rasmus Kaj
9e96505709
Use published ructe.
2016-10-04 20:54:55 +02:00
Rasmus Kaj
094a63de46
Dependency hunting.
2016-10-03 23:08:24 +02:00
Rasmus Kaj
3c813d4483
Merge branch 'master' into feature/ructe
2016-09-23 17:28:52 +02:00
Rasmus Kaj
544e34cce4
Not ready for nickel 0.9 yet.
2016-09-23 16:59:08 +02:00
Rasmus Kaj
9a038765b9
Initial ructe experiment.
2016-09-20 07:35:28 +02:00
Rasmus Kaj
583f492cae
Update nickle-jwt-session use.
2016-09-20 07:35:01 +02:00
Rasmus Kaj
5e8ce70293
Chase dependencies.
2016-08-28 22:13:48 +02:00
Rasmus Kaj
ab35c4bc49
Add a year-listing playground.
2016-08-28 22:06:45 +02:00
Rasmus Kaj
79c72ef2aa
Consistent version requirements.
2016-08-19 23:24:45 +02:00
Rasmus Kaj
fd5fb423ec
Add flag to make photos public.
2016-08-07 22:41:00 +02:00
Rasmus Kaj
f7da73ad17
Update to Diesel 0.7.
...
Also, make things simpler by dropping nightly rust support.
2016-08-03 23:54:54 +02:00
Rasmus Kaj
3767319ff6
Cleanup.
2016-07-17 14:30:58 +02:00
Rasmus Kaj
c954a9b725
Avoid sqlite some more?
2016-07-08 15:48:47 +02:00
Rasmus Kaj
045a708f00
Attempt to fix build problem.
2016-07-08 14:44:38 +02:00
Rasmus Kaj
7d4ac42508
Minor update.
2016-07-07 21:38:44 +02:00
Rasmus Kaj
967552f110
Implment proper user handling.
2016-07-02 12:50:25 +02:00
Rasmus Kaj
366b125862
Start conversion to diesel.
...
Use diesel instead of rustorm. This compiles, but much of the
interestign stuff is commented out.
2016-05-29 21:51:27 +02:00
Rasmus Kaj
f3f3602347
Add compressed css.
...
When storing the sassified css, also store copies compressed with gzip
and brotli. That way, a good web server and client can save some
bytes of file transfer (the css in this project is very small, but as
it grows, this will become more relevant).
2016-05-23 20:50:13 +02:00
Rasmus Kaj
a3f414bd97
Use nickel form-body parsing for login.
2016-05-11 18:14:23 +02:00
Rasmus Kaj
e523d43d34
Add jwt authorization.
...
The username/password handling is just mocked currently.
2016-05-01 15:50:49 +02:00
Rasmus Kaj
10b5b4453c
Use the "compressed" sass output.
...
This currently uses the sass-sys low-level interface, because the
operation is not supported in sass-rs.
The PR https://github.com/compass-rs/sass-rs/pull/3 adds high-level
support. If / when that is fixed, the direct requirement for sass-sys
should be removed from rphotos.
2016-04-23 22:15:24 +02:00
Rasmus Kaj
8b3ab53976
Right hyper version for current nickel.
2016-04-23 00:06:00 +02:00
Rasmus Kaj
d4bfe0756f
Use scss to prepare css.
...
The css file is built to a file with (short) checksum in the
file name, to be nicely cacheable. The actual file name is
compiled into the binary and sent to the templates as a variable.
2016-04-22 23:56:13 +02:00
Rasmus Kaj
f1552e82d7
That hyper version was for old nickel version.
2016-04-19 23:18:30 +02:00
Rasmus Kaj
84987eca40
Add a program to find image files.
2016-01-31 14:34:48 +01:00
Rasmus Kaj
f364d70b0f
Changes for updated rustorm.
...
Disable default dependencies to handle a depency collision where
mysql required a different version of openssl than something else.
2016-01-30 19:57:53 +01:00
Rasmus Kaj
0ffa72a1db
Expires header works again.
...
Match the direct hyper dependency with the one in nickel.rs
and things work fine agin.
2015-11-27 18:38:46 +01:00
Rasmus Kaj
b1d53c0762
Photos can have tags.
...
Read old data from kphotoalbum.
2015-11-23 06:48:09 +01:00
Rasmus Kaj
704877abd9
Actually show some photos.
2015-11-22 13:01:39 +01:00
Rasmus Kaj
87ddb0db1f
Read "photos" from db.
2015-11-21 16:21:44 +01:00
Rasmus Kaj
4cee26adea
Initial commit.
...
Very simple web service using the nickel framworkd.
2015-11-19 23:43:04 +01:00