Shyam Sunder
57193b5715
client+server: implement code autoformatting using prettier and black
2020-06-06 08:58:23 -04:00
Shyam Sunder
c5358f7f83
client+server: add post pools feature
2020-06-04 21:01:28 -04:00
Shyam Sunder
4329b1620f
client/js: format code to ESLint
2020-06-04 19:02:33 -04:00
Ruin0x11
d59ecb8e23
Add pool CRUD operations/pages
2020-05-03 19:53:28 -07:00
neobooru
c9eae00c8c
client/login: always store login cookie as 'auth'
...
Fixes #268
2019-09-29 23:14:14 -04:00
Shyam Sunder
cbf67587e2
client: Some minor fixups to base URL feature
...
* Cleanup cookie storage path
* Cleanup Data URL
2018-08-23 21:04:19 +02:00
Shyam Sunder
defada45ab
client: adapted code to use <base> HTML tag
2018-08-23 21:04:19 +02:00
Shyam Sunder
60ab9246c6
client: improved build.js, use relative links
...
* Removed unnecessary require('config.js') calls
* 'markdown.js' now uses rel. links in EntityPermalinkWrapper
* 'password_reset.py' now generates rel. links
* Removed 'Base URL' config parameter
* Removed 'API URL' config parameter
* 'build.js' no longer reads/requires config.yaml
* Updated documentation
* Removed unnecessary node packages used in 'build.js'
abandon api_url parameter
2018-07-06 19:40:20 +02:00
Shyam Sunder
3972b902d8
client: fetch configurations from server at runtime
...
Permissions, regex filters, app title, email info,
and safety now fetched using server's Info API
2018-06-27 21:20:03 +02:00
ReAnzu
2a69f0193f
server/auth: add token authentication
...
* Users are only authenticated against their password on login,
and to retrieve a token
* Passwords are wiped from the GUI frontend 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
* Tokens correctly delete themselves on logout
* Tokens can expire at user-specified date
* Tokens have their last usage time
* Tokens can have user defined descriptions
* Users can manage login tokens in their account settings
2018-03-25 22:23:29 +02:00
rr-
1acceb941d
client: refactor linking and routing
...
Print all links through new uri.js component
Refactor the router to use more predictable parsing
Fix linking to entities with weird names (that contain slashes, + etc.)
2017-01-21 00:13:35 +01:00
rr-
592d2a7dae
client/posts: fix uploading posts from URLs
2017-01-08 23:52:20 +01:00
rr-
43198daba3
client/posts: wrap with big progress
...
fixes #114
2017-01-08 22:29:05 +01:00
rr-
b366d8981c
client/api: fix null reference error
2017-01-08 20:56:48 +01:00
rr-
ecf347ef6e
client/api: handle expired uploads
2017-01-08 11:04:49 +01:00
rr-
beb8d8091b
client/api: better promise aborting
2017-01-08 10:25:29 +01:00
rr-
8a73f7e400
client: rework promise error handling
2017-01-08 10:25:29 +01:00
rr-
5bf3d5da44
client/api: use temporary upload api
2017-01-08 10:25:29 +01:00
rr-
be6f8d7f46
client/api: merge URL and Blob based file uploads
2017-01-08 10:25:29 +01:00
rr-
7862fecbc9
client/posts: add upload cancelling
2016-09-29 21:55:20 +02:00
rr-
4f497d311a
client/api: support Unicode passwords
2016-09-24 08:49:47 +02:00
rr-
01fadd8f8c
client/api: fix reporting errors for bad logins
2016-09-24 08:49:07 +02:00
rr-
7fa8593b0a
client/general: improve URL escaping
...
Specifically, cater for /, + and % in URL components.
2016-09-04 02:07:22 +02:00
rr-
79b3973f9e
client/general: use resource versioning
2016-08-07 09:55:51 +02:00
rr-
9ee973ce1c
client/posts: add custom thumbnail discarding
2016-07-31 23:54:29 +02:00
rr-
a6d6aa2f4d
client/api: encode spaces (and others) in URLs
2016-06-23 00:15:25 +02:00
rr-
eb09677bf8
client/general: replace direct API with models
2016-06-20 23:52:09 +02:00
rr-
d5c3d21951
client/api: fix cache not cleared on login
...
This led to weird anomalies when logging with valid password and then
with invalid one.
2016-06-19 21:38:39 +02:00
rr-
54e3099c56
client/general: refactor control flow
...
- Controller lifetime is bound to route lifetime
- View lifetime is bound to controller lifetime
- Control lifetime is bound to view lifetime
- Enhanced event dispatching
- Enhanced responsiveness in some places
- Views communicate user input to controllers via new event system
2016-06-18 10:35:20 +02:00
rr-
abd679888a
client/general: make fatal errors fatal
2016-06-11 17:36:02 +02:00
rr-
8d1e23aa63
server/general: flatten responses
2016-05-30 22:54:33 +02:00
rr-
fa4412ef90
client/api: let caller disable nprogress
2016-05-22 22:17:11 +02:00
rr-
69fe8ec31a
client/general: refactor all the things
...
- Move controls to the "controls/" directory
- Make controls interface look similar to each other
- Prefix "private" methods and attributes with underscore
2016-05-21 00:08:43 +02:00
rr-
7610761ec8
client/general: add nprogress to API calls
2016-05-08 18:59:11 +02:00
rr-
198cb0af3e
server/users: hardcode available ranks
2016-05-08 16:59:25 +02:00
rr-
e4239a199c
server/api: refactor + remove ID from user JSON
2016-04-16 15:49:21 +02:00
rr-
543d0fca57
client/api: cache API requests
...
Specifically, cache all GET requests until first POST/PUT/DELETE
request.
2016-04-11 21:43:58 +02:00
rr-
4dcee37567
client/users: support avatar changing
2016-04-10 18:54:19 +02:00
rr-
e12492bd4d
client/api: fix removing cookies on login failures
2016-04-09 22:23:24 +02:00
rr-
4821f2ac6c
client/users: add user deletion
2016-04-09 18:41:49 +02:00
rr-
7871c69aa3
client/users: implement account settings
...
(Without avatars yet.)
2016-04-08 10:18:39 +02:00
rr-
90d4401024
client/api: move cookies management to API
2016-04-08 10:03:29 +02:00
rr-
8a1140eff6
client/api: convert messages to events
2016-04-08 09:48:47 +02:00
rr-
55cc7b59e4
client+server: switch to yaml config
2016-04-06 22:36:04 +02:00
rr-
baf9b1d31a
server/users: track login time
2016-04-03 15:28:10 +02:00
rr-
60a677edf4
client/api: handle connection errors
2016-04-03 12:12:57 +02:00
rr-
e487adcc97
split files into client/ and server/
2016-04-01 18:48:16 +02:00