Commit graph

923 commits

Author SHA1 Message Date
ReAnzu
796563f772 Cleanup func imports, and small formatting changes. 2018-02-25 17:30:48 -06:00
ReAnzu
a526a56767 Users are only authenticated against their password on login, and to retrieve a token.
* Passwords are wiped from the app and cookies after login and token retrieval
* Tokens are revoked at the end of the session/logout
* If the user chooses the "remember me" option, the token is stored in the cookie
* A user interface to revoke tokens will be added
2018-02-25 04:44:02 -06:00
ReAnzu
d6ee744777 Added migration to support new password_hash format 2018-02-25 00:05:15 -06:00
ReAnzu
0e5fbde097 Changed password setup to use libsodium and argon2id
* regular SHA256 is not secure
* added code to auto migrate old passwords to the new password_hash if the existing password_hash matches either of the old password generation schemes.
2018-02-24 23:45:00 -06:00
ReAnzu
838ced3aae Delete thumbnails and post images immediately on post delete 2018-02-24 01:57:31 -06:00
ReAnzu
4f612a6f64 Allow for thumbnails to be generated even on ffmpeg warnings 2018-02-24 01:48:10 -06:00
ReAnzu
90044eacd2 Added auto conversion option for gif to mp4,webm
* webm conversion is slow, but better quality than mp4 conversion and with a typically smaller filesize
2018-02-24 01:06:11 -06:00
ReAnzu
bc947a14ae Working on adding functionality for administrators to directly add users to the application 2018-02-23 22:05:58 -06:00
ReAnzu
a5211d9483 Added the ability to disable registration in the config file 2018-02-23 18:09:37 -06:00
rr-
a1fbeb91a0 server/users: fix checking passwords with colons 2018-02-10 14:04:02 +01:00
rr-
59d8b0d4c5 client: update dependencies 2018-01-06 21:35:53 +01:00
Michael Serajnik
69421464f6 client/posts: override resize mode in home view 2017-12-15 19:11:39 +00:00
Michael Serajnik
85cb3d4702 client/help: fix spelling issues 2017-12-02 23:38:22 +01:00
rr-
f8c7375b01 server/tags: allow uppercase tag category colors
i.e. colors such as "#FF0000"
2017-10-08 21:38:38 +02:00
rr-
cdf454818c client: widen search inputs to match post search 2017-10-02 21:08:13 +02:00
rr-
4848bee5e3 client/tags: remove unused cruft 2017-10-01 22:09:00 +02:00
rr-
36698cddc2 client/posts: fix promise chaining 2017-10-01 22:00:42 +02:00
rr-
1c4c5c5f91 remove tags.json 2017-10-01 21:48:00 +02:00
Robin Appelman
253e28c1b5 client/posts: add shortcut for deleting posts 2017-09-23 20:05:57 +02:00
Robin Appelman
6d78c5e55d client/posts: fix keyboard nav to next/prev post
The exact search query was discarded.
2017-09-23 16:10:03 +02:00
rr-
795891767e client/home: fix featured WEBMs being unclickable 2017-09-09 23:42:00 +02:00
rr-
234afc8dfe client: update dependencies 2017-08-25 23:54:29 +02:00
rr-
87735110aa client/posts: add copying notes to clipboard
Saves some frustration when losing changes due to editing conflict
2017-08-25 23:53:51 +02:00
rr-
674d6c35d7 server/posts: add posts:view:featured privilege 2017-08-24 17:17:09 +02:00
rr-
4afece8d50 server/posts: add non-guessable IDs to post URLs 2017-08-24 17:17:09 +02:00
Michael Serajnik
90b0d77147 client/build: fix build, use uglify-es package directly 2017-08-11 17:36:10 +02:00
rr-
043b182b5e client/paging: add cues for qutebrowser 2017-06-25 17:47:40 +02:00
rr-
3c138685ea server/images: handle resizing errors 2017-05-03 12:10:04 +02:00
rr-
a1b762c65f api: fix getting cached disk usage with empty dirs 2017-05-01 20:26:53 +02:00
rr-
4bc58a3c95 server: lint 2017-04-24 23:30:53 +02:00
rr-
fea9a94945 client/routing: fix certain history bug
The bug could be reproduced as follows:

1. Navigate to /posts
2. Search for "test"
3. Navigate to /posts again
4. Refresh the page

The user should see plain post list, but instead they were seeing the
"test" search results again as if step 3 never happened.
2017-04-24 23:02:25 +02:00
rr-
467b4a7630 server/tags: fix nondeterministic siblings order 2017-04-24 22:48:11 +02:00
rr-
8e5798ab8c server/tests: fix content sync tests on postgres 2017-04-24 22:36:41 +02:00
rr-
e4aa38f159 server/search: fix errors on negative page offsets 2017-04-24 22:12:12 +02:00
rr-
ba4df16499 server/search: add search term escaping 2017-04-24 21:59:38 +02:00
rr-
9814b132c3 server/search: fix searching for ---
Allow only one negation sign.
Also throw an error if user searches only for "-".
2017-04-24 19:55:02 +02:00
rr-
0014721053 server/tags: fix retrieving many tags 2017-04-19 14:44:54 +02:00
rr-
77bf3bdc3c client/posts: add option to disable safety ratings 2017-03-30 20:50:12 +02:00
rr-
c2be365b6e config: remove unused values 2017-03-30 19:48:48 +02:00
rr-
01e1641475 config: improve comments 2017-03-30 19:47:14 +02:00
rr-
7044d2aaee server/posts: ignore old elasticsearch results 2017-03-12 18:30:42 +01:00
rr-
49feb932f3 client/tags: merging can now also add aliases 2017-03-04 16:55:53 +01:00
rr-
5681fd11ef server/net: make the user-agent configurable
Fixes #127
2017-03-03 17:27:23 +01:00
rr-
e087b83082 client/notes: don't rely on class names
The state names, used by CSS, were being broken by the minifier.
2017-02-26 18:47:53 +01:00
rr-
87b3572ce5 client/paging: fix endless scroll on android 2017-02-26 12:57:24 +01:00
rr-
5467ca6b7e client/posts: improve placeholder in file dropper
The default one was too long to fit in the sidebar
2017-02-21 19:09:18 +01:00
rr-
d00d282bff client/posts: improve file dropper appearance 2017-02-21 19:00:02 +01:00
rr-
1e58899b03 client/posts: allow updating content from URL 2017-02-21 19:00:02 +01:00
rr-
b27855523a client/file-dropper: fix drawing long URLs 2017-02-21 18:59:12 +01:00
rr-
34366b72fb client/file-dropper: add ability to lock URLs 2017-02-21 18:59:12 +01:00