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
444be44008
Add spoiler tags ( fixes #78 )
2024-10-23 10:57:09 +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
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
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
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
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
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
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
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
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
a15a42b977
Handle conflicts in frontend
2024-02-14 16:13:57 +01:00
8c03ec72b1
Dont allow editing main page of remote instance
2024-02-14 15:01:56 +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
575ef14a23
Dont allow empty search queries, error handling for search
2024-02-12 14:56:07 +01:00
0c247a8959
correctly link remote articles
2024-02-09 16:54:46 +01:00
e908d3da33
hide signup button if registrations closed
2024-02-09 16:04:19 +01:00
3adcd98b3f
use trunk build not watch for federation.sh, ignore invalid auth
2024-02-09 10:58:39 +01:00
efebe765f8
create edit for default article so it shows in article list
2024-02-08 17:12:42 +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
dbd8e931a4
fix tests
2024-02-01 16:51:38 +01:00
f2180e5e0b
add basic instance details page (untested)
2024-02-01 16:46:36 +01:00