1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2025-02-02 23:31:35 +00:00
Commit graph

114 commits

Author SHA1 Message Date
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
ae44c169ba Split up api files 2025-01-23 22:25:36 +01:00
cdcc992b75 Add instance name, topic and instance card with update time (fixes #106) 2025-01-23 15:13:23 +01:00
696ba19a2f Rename API forms to params 2025-01-21 15:39:34 +01:00
54c65e7474
Implement comments for articles (fixes #10) (#112)
* Move files into subfolders

* Implement comments for articles (fixes #10)

* wip

* backend mostly done

* tests wip

* test working

* wip federation

* partial federation

* comment federation working!

* federation and tests working with delete

* wip frontend

* basic comment rendering

* various

* wip comment tree rendering

* all working

* update rust

* comment markdown

* only one comment editor at a time

* display comment creation time

* fedilink

* live handling of delete/restore

* comment editing
2025-01-21 11:39:10 +00:00
0edc863bb7 Show pending edits in history (fixes #109) 2025-01-17 10:58:37 +01:00
b573c92a19 Add validation for article title and user/displayname 2025-01-16 13:33:29 +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
2bd2780939 Working actions on notification page 2024-11-14 16:48:16 +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
53a89a51d3 clippy 2024-11-11 23:05:23 +01:00
d720a003e2 Fix tests 2024-11-11 16:02:48 +01:00
34068cffa1 Fix test failures 2024-11-11 15:11:49 +01:00
5556d0fef2 Synchronize linked instances 2024-11-11 14:46:52 +01:00
5d47bb96ba Some improvements to instance page 2024-11-08 12:26:06 +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
a15a42b977 Handle conflicts in frontend 2024-02-14 16:13:57 +01:00
2cf36210ff Fix test 2024-02-14 12:32:36 +01:00
da2c382cb0 Implement fork article in frontend 2024-02-14 12:25:44 +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
0c247a8959 correctly link remote articles 2024-02-09 16:54:46 +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
dd513a106d fix test 2024-02-09 10:42:35 +01:00
88dd4c69c2 local federation setup 2024-02-08 17:04:56 +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
0c45fe3eba remove unused typedef 2024-02-08 11:49:34 +01:00
334dc3826f add config file 2024-02-08 11:38:46 +01:00
1dc984025a add headings 2024-02-01 12:23:51 +01:00
90f174bf53 sort article list by recently edited first 2024-02-01 12:10:55 +01:00
4e53b13b70 add list of articles with local/all selection 2024-02-01 11:34:09 +01:00
a12895f9bf create article in ui 2024-01-30 16:06:02 +01:00