c330061087
Proper frontend error handling ( #116 )
...
* Rename to BackendError
* wip
* suspense error
* error handlign for read article
* error handling for discussion
* diff/history (with hydration error)
* actions
* edit
* article pages done
* return error from all api methods
* no unwrap in api client
* cleanup
* article 404 page with create article link
* get rid of articles list, rename instances to explore
* no unwrap on instance details
* more unwrap gone
* use bind
* more
* edits page
* instance details
* no more unwrap!! (fixes #16 )
* timeout for error popup
* shear
2025-01-31 11:56:10 +00:00
5229ec34a7
Move frontend stuff into subfolders
2025-01-23 22:49:04 +01:00
696ba19a2f
Rename API forms
to params
2025-01-21 15:39:34 +01:00
0edc863bb7
Show pending edits in history ( fixes #109 )
2025-01-17 10:58:37 +01:00
0194ddf663
Also split up files in src/common.rs
2025-01-15 14:28:39 +01:00
15c56b7f44
Markdown formatting (now with working tests)
2024-12-19 16:17:50 +01:00
0868db9210
Simply run all tests in parallel at the same time
2024-12-05 12:47:28 +01:00
e0ed85daf2
Faster testing
2024-12-05 12:08:53 +01:00
f78f2df94a
Show edit history in user profile ( fixes #88 )
2024-12-05 11:28:50 +01:00
fc3d625a98
Some improvements to error handling
2024-12-04 14:37:49 +01:00
22bd0d9538
Update default config
2024-11-14 14:52:43 +01:00
61806e12a6
Rework how site data is fetched
2024-11-14 14:43:02 +01:00
21c77c2f24
Use single api endpoint for notifications (conflicts and new articles)
2024-11-12 16:40:15 +01:00
7531476066
Admin approval for new articles
2024-11-12 15:04:04 +01:00
fceead8062
Use cargo-leptos, make server-side rendering work
2024-10-28 15:47:45 +01:00
1c5229430f
Never use https in SSR mode, some more bug fixes
2024-03-08 14:29:29 +01:00
d5ce966ea1
Use nightly cargo fmt for better imports formatting
2024-03-05 16:38:07 +01:00
b2b20dcd2a
Implement protect article function
2024-03-05 16:06:27 +01:00
4cab67e063
fix clippy
2024-02-28 15:54:34 +01:00
d22654261f
Use db pool
2024-02-27 17:54:50 +01:00
911fadb94b
Link user profile from article history and diff view
2024-02-13 16:51:57 +01:00
47362b52da
Basic user profile page
2024-02-13 13:30:38 +01:00
a2b808ce57
Add frontend button for instance follow, add instance.domain column
2024-02-12 16:37:12 +01:00
581d90c880
increase test sleep times to prevent ci failures
2024-02-09 16:23:57 +01:00
daa5412271
dont use localhost for tests
2024-02-09 15:06:48 +01:00
773e19b38b
persistent data for local federation setup
2024-02-09 11:30:44 +01:00
36995bfcc7
try to reduce test failures
2024-02-09 11:08:57 +01:00
0f0f83bc3a
various changes
...
- only admin can edit main page
- adjust config values
- better text for default page
2024-02-08 12:22:15 +01:00
334dc3826f
add config file
2024-02-08 11:38:46 +01:00
885555ad09
silence test logs
2024-01-29 17:08:30 +01:00
117323a5e3
Setup CI ( #14 )
...
* add ci config
* fmt
* jsonwebtoken opt
* add clippy
* clippy fixes
* install postgres
* apt update
* -y
* path
* fix path
* fix
* no root
* sudo
* which
* path
* fmt
* env
* ls
* full path
* chown
* echo path
* more chown
* fix
* useradd
* x
* -r
* p
* env
* p
* a
* env
* t
* ls
* cat
* ls
* cp
* rustup
* copy
* c
* x
* cleanup
2024-01-26 14:21:59 +01:00
ccde4b4666
fix conflicts between federation and frontend routes
2024-01-19 16:21:44 +01:00
469ca6f718
working login and logout
2024-01-18 15:31:32 +01:00
f41cc01ad3
fix frontend compilation
2024-01-18 12:39:52 +01:00
9f4d20494e
move all api calls to ApiClient
2024-01-18 12:23:49 +01:00
173249ea8e
move some api methods to struct
2024-01-17 17:14:16 +01:00
150415e8ad
fix integration tests
2024-01-17 16:55:12 +01:00
8ca01dee07
registration and login working
2024-01-16 16:07:01 +01:00
89a71c7fcd
register working based on leptos example
2024-01-12 16:48:24 +01:00
b6c1512479
simplify trunk setup
2024-01-11 16:21:44 +01:00
42d382d19e
basic page rendering!
2024-01-03 17:11:24 +01:00
2ceab5a23c
basic page loading
2024-01-03 13:29:25 +01:00
e1c69799b8
basic frontend with fetch
2023-12-22 15:15:29 +01:00
f2c9a76d75
Rename to Ibis
2023-12-20 17:08:19 +01:00
5d89591894
Handle conflicts per local user
2023-12-19 15:50:07 +01:00
8ed35141b7
Add creator_id to edit
2023-12-18 16:41:18 +01:00
69d08b824e
user working and tests passing
2023-12-14 17:06:44 +01:00
e0bd8d2791
login for fork_article
2023-12-13 16:58:29 +01:00
b72cc51814
require auth for create/edit article endpoints
2023-12-13 16:40:20 +01:00
f8da5ae965
split api into separate files
2023-12-13 13:32:44 +01:00