d9020a15d4
Move api client into static
2024-11-14 11:15:02 +01:00
226c3facaa
Make auth token available during hydrate
2024-11-14 11:07:23 +01:00
18d46d22bf
Simplify code so that unapproved articles can be viewed directly (but not included in listings)
2024-11-13 11:09:12 +01:00
733abdef96
Add published timestamps, sort notifications
2024-11-13 10:56:23 +01:00
d075d15b50
Fix page load
2024-11-13 10:41:55 +01:00
0e7a45306d
format
2024-11-12 23:40:17 +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
5f306e6600
Fix all tests
2024-11-12 12:17:07 +01:00
639ca1704f
use newtypes for all ids
2024-11-11 23:23:25 +01:00
7d8954ecd1
create newtypes.rs
2024-11-11 23:08:42 +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
1678cbd279
Fix hiding follow button
2024-11-11 11:59:12 +01:00
aa09bbfe93
Simplify resource errors to fix icon
2024-11-11 11:52:59 +01:00
a099181085
Also show connect button on article page
2024-11-11 11:52:59 +01:00
627b0067b5
Instance list
2024-11-11 11:52:59 +01:00
4ebd4600fc
Format
2024-11-11 10:32:11 +01:00
b89fcb6dc4
Add logo ( fixes #19 )
2024-11-11 10:30:19 +01:00
db5f75a0b8
Improve search results design
2024-11-08 15:59:37 +01:00
5482f8758e
Wait for global state to be populated
2024-11-08 15:46:42 +01:00
1a0acca3a0
Add ghost user to be able to fetch articles in case edit author cant be fetched
2024-11-08 15:12:56 +01:00
026c8c81f2
Should use Utc::now for last_refreshed_at
2024-11-08 12:57:58 +01:00
5d47bb96ba
Some improvements to instance page
2024-11-08 12:26:06 +01:00
6cd87cf790
Better dark mode storage using cookie
2024-11-07 15:50:58 +01:00
1931c53ac5
Fix dark mode toggle
2024-11-07 13:01:56 +01:00
2fd3999341
Persistent storage for dark mode
2024-11-07 12:31:18 +01:00
684f4d07a7
Styling
2024-11-06 15:13:52 +01:00
b856f7519f
Fix warning
2024-11-06 15:10:12 +01:00
b9171acd07
Add dark theme with toggle ( fixes #49 )
2024-11-06 14:42:15 +01:00
f9a23236df
Some design improvements
2024-11-06 12:51:36 +01:00
1093cbf67e
Reactive editor with side by side preview ( fixes #69 )
2024-11-06 11:01:00 +01:00
b0f12a6908
Smaller logout button
2024-11-06 10:30:21 +01:00
481730cc4b
Menu works on desktop and mobile
2024-11-05 16:12:00 +01:00
0f0cf25b3c
Link to Ibis article for Markdown docs
2024-10-31 11:11:45 +01:00
5fa0697130
Remove some unused css rules
2024-10-30 16:39:11 +01:00
5a57c6520b
Show version and source link in sidebar ( fixes #86 )
2024-10-30 16:18:03 +01:00
aaec884d8f
Rework article list
2024-10-30 16:12:18 +01:00
9be6abf776
various improvements
2024-10-30 13:02:27 +01:00
af80819eca
Proper tailwindcss setup
2024-10-30 12:16:50 +01:00
52864a6e5c
Merge branch 'master' into tailwind-css
2024-10-30 11:33:30 +01:00
d33749aa15
Create EditorView for common article edit/create code
2024-10-30 11:23:08 +01:00
b7e490be9e
Merge branch 'master' into tailwind-css
2024-10-29 15:35:26 +01:00
71e9db9935
Throw error in case of invalid config value
2024-10-29 09:35:44 +01:00
fceead8062
Use cargo-leptos, make server-side rendering work
2024-10-28 15:47:45 +01:00
b4e54c914d
Also add preview for creating article
2024-10-28 11:28:16 +01:00
ef7d29d2ee
Proper resizing of editor (ref #51 )
2024-10-28 11:25:33 +01:00
f8948c2e20
Add markdown sub/superscript ( fixes #85 )
2024-10-25 10:46:47 +02:00
71af03c0f6
Add support for markdown footnotes (ref #76 )
2024-10-23 11:32:26 +02:00
e7d480098f
Add anchors to markdown headings ( fixes #77 )
2024-10-23 11:24:30 +02:00
61fb9081ec
Remove autolink markdown rule ( fixes #74 )
2024-10-23 11:14:49 +02:00
444be44008
Add spoiler tags ( fixes #78 )
2024-10-23 10:57:09 +02:00
f2e2f88dad
wip3
2024-10-18 11:58:08 +02:00
68f7f31b8e
wip2
2024-10-16 16:40:32 +02:00
Silver-Sorbet
a38c4a3e5e
Fix math parsing ( #68 )
...
* Updates version?
* Adds Display mode after whitespace for LaTex
Includes fonts directory in binaries
Removed unecessary font types (kept .woff2)
* Woodpecker checks
Removed debug print statement for equations
* Use `ok_or` instead of `if let`
Co-authored-by: Nutomic <me@nutomic.com>
* Adds font_dir variable back
---------
Co-authored-by: Bintou Ali <bintou005@protonmail.com>
Co-authored-by: Nutomic <me@nutomic.com>
2024-10-16 16:23:30 +02:00
8033a00b4e
wip
2024-10-16 15:20:53 +02:00
a7b95d459b
Use tailwind + daisyui for css
2024-10-16 14:19:31 +02:00
222cecb668
Render markdown headings one level smaller ( fixes #46 )
2024-10-15 13:00:00 +02:00
0b5b60fc9c
Add live preview for edits ( fixes #54 )
2024-10-15 12:43:31 +02:00
d352a33c7a
Fix links to remote user profiles in edit history
2024-10-15 11:39:46 +02:00
758dd913cc
Dont rebuild backend for css changes, move asset code into file
2024-10-15 11:35:00 +02:00
Silver-Sorbet
94a07cd7bd
Adds math parsing ( #61 )
...
* Adds LaTex parsing to HTML with KaTex
* Adds display mode
Remove commented block parser rule
* Applies Nutomic suggestions
Adds fonts to assets
Adds KaTex CSS to assets
Makes katex crate inclusion depending on build type less verbose
* Woodpecker checks
---------
Co-authored-by: Bintou Ali <bintou005@protonmail.com>
2024-10-15 09:39:29 +02:00
abd89bfdc4
Need to sort edits by date ( fixes #45 )
2024-10-14 16:45:27 +02:00
b1f9510417
Better rendering of edit history ( fixes #57 )
2024-10-14 16:30:40 +02:00
b530495acc
Remove dbg
2024-10-14 13:02:55 +02:00
3050617005
Disable markdown plugins for url shortening and smartquotes ( fixes #53 )
2024-10-14 12:43:33 +02:00
a01d6cad52
Fix compiler warning
2024-10-14 11:30:48 +02:00
8b08d99d99
Resize article edit input based on length ( fixes #51 )
2024-10-14 11:24:06 +02:00
51b5cc7d79
Dont set cookie domain on localhost
2024-10-14 10:44:50 +02:00
fdda0f584a
Upgrade deps ( #60 )
...
* Upgrade dependencies
* fix tests
* ci config
2024-10-02 14:47:44 +02:00
f35a8d2592
Another run.
2024-03-29 09:51:52 -04:00
6d7910f929
Adding leptos and taplo format checks.
2024-03-29 09:42:06 -04:00
01c0175f4c
Add follow instance button in article nav ( fixes #31 )
2024-03-15 13:59:30 +01:00
3128cbaefb
Dont allow /
in article title ( fixes #25 )
2024-03-14 10:30:18 +01:00
8188296b88
Include domain when generating diff link ( fixes #23 )
2024-03-14 10:25:47 +01:00
a057f00e24
Minor changes to create/edit article page ( fixes #24 )
2024-03-14 10:11:32 +01:00
011c641664
clippy
2024-03-12 15:42:15 +01:00
09b68d0411
Better activity id generation
2024-03-12 15:18:54 +01:00
e56e8adbdf
Fix articles created with invalid ap_id
2024-03-12 11:45:20 +01:00
0b2bfbd3ae
Fix problems with invalid apub ids
2024-03-11 13:40:03 +01:00
11c3971d9e
Add basic nodeinfo
2024-03-08 16:49:00 +01:00
31b720a15c
Add button to toggle article protection
2024-03-08 16:37:46 +01:00
c341b87d5f
Upgrade apub lib
2024-03-08 14:58:29 +01:00
97e9b42e17
Allow accessing local article with domain for simple markdown plugin
2024-03-08 14:54:50 +01:00
fab78f7911
Fix redirect after creating article
2024-03-08 14:39:47 +01:00
a39a7ae5e6
Fix markdown plugin rendering
2024-03-08 14:39:38 +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
12de5ca387
Use include_str! to allow deployment as single binary
2024-02-28 18:31:46 +01:00
4cab67e063
fix clippy
2024-02-28 15:54:34 +01:00
6dd1711e11
Get rid of unwrap usage in backend
2024-02-27 18:10:15 +01:00
d22654261f
Use db pool
2024-02-27 17:54:50 +01:00
dd56a3f0d5
Add domain checks for federation
2024-02-27 16:21:30 +01:00
41a4d18949
Use federation queue with retry for sending
2024-02-27 13:05:12 +01:00
6e09d4881f
Add markdown syntax for article links
2024-02-15 12:34:40 +01:00
5ab62aecd5
Dont hardcode http protocol
2024-02-15 11:18:38 +01:00
e325de6352
Also allow resolving federated edit conflicts
2024-02-14 16:44:48 +01:00