Commit Graph

379 Commits

Author SHA1 Message Date
d3ba0296da Merge pull request 'Import packaging files' (#2) from libertacasa-package into libertacasa-master
Reviewed-on: #2
2022-12-18 19:05:31 +01:00
bdc1f1d2b5 Merge pull request 'Import urls.py and settings.py' (#1) from libertacasa-saml into libertacasa-master
Reviewed-on: #1
2022-12-18 17:30:04 +01:00
9af6b1d051
Disable debug mode
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2022-12-18 17:14:50 +01:00
9501cbf678
Import packaging files
- setup.py to install the library as a Python package
- systemd services and target for running as a daemon
- sysconfig file providing environment variables to the application

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2022-12-18 16:46:54 +01:00
7819d7980b
Update urls.py + settings.py
- modify paths to match package patches
- add SAML configuration

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2022-12-18 16:41:24 +01:00
Michael Manfre
86bc48f3e0
Add github action timeouts (#195) 2022-12-17 22:26:15 -07:00
Michael Manfre
bb81f0e559
Process Identity metadata name same as value (#194) 2022-12-17 21:15:11 -07:00
Tyler Kennedy
fc79551656
Increase the allowed size of URIs
Increase the allowed size of Post.object_uri and Post.url from 500 characters to a more reasonable 2048. See https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers.
2022-12-17 20:20:51 -07:00
Andrew Godwin
b6a8737d2e Some more JSON-LD namespace fixing 2022-12-17 17:48:33 -07:00
Andrew Godwin
c5e00a2c73 Switch ordering for domain default field 2022-12-17 17:17:59 -07:00
Andrew Godwin
2772ee7188 Let's use dev version numbers 2022-12-17 17:03:24 -07:00
Andrew Godwin
77ef358fef Allow markdown on signup text 2022-12-17 17:02:54 -07:00
Andrew Godwin
03929e12ea We got some stuff done! 2022-12-17 17:02:54 -07:00
Kromonos
f02f1541ad
Implement lazy loading (#188) 2022-12-17 17:01:07 -07:00
Andrew Godwin
17d75c4797 Allow for attachments with no width/height
Fixes #186
2022-12-17 15:45:54 -07:00
Michael Manfre
ea99f65c26
Icon and image for Identity could be a list 2022-12-17 15:42:29 -07:00
Andrew Godwin
24b5d08f9b Update all main pages to no-store 2022-12-17 15:35:22 -07:00
Andrew Godwin
4d71da7ae1 Allow for remote policy pages 2022-12-17 15:30:51 -07:00
Andrew Godwin
d08324e159 Handle timeouts on image fetch 2022-12-17 15:00:50 -07:00
Andrew Godwin
64f113dd8d Receive inbound reports 2022-12-17 14:58:04 -07:00
Andrew Godwin
e8d6dccbb2 Report function and admin 2022-12-17 14:45:31 -07:00
Andrew Godwin
b3b2c6effd Shrink emoji in posts a little 2022-12-17 13:31:52 -07:00
Andrew Godwin
2eb07a5f5f Download and store user avatars locally if small 2022-12-17 12:53:13 -07:00
Andrew Godwin
24a4fbe1f8 Catch all possible request errors 2022-12-17 12:29:48 -07:00
Andrew Godwin
1f28361fd9 Return unreviewed emoji in API correctly 2022-12-17 12:20:00 -07:00
Andrew Godwin
0fa5522e6a Handle delete.note as well as delete.tombstone 2022-12-17 12:18:04 -07:00
Andrew Godwin
256ebe56d5 Don't download files with no content-length 2022-12-17 12:16:37 -07:00
Andrew Godwin
5bbcc0f6c3 Add AP output to emoji admin 2022-12-17 12:07:13 -07:00
Andrew Godwin
62f2b867b9 Fix serving of system actor
Fixes #183
2022-12-17 12:00:47 -07:00
Andrew Godwin
d7ffb47fb2 Make emoji better on the wire 2022-12-16 22:20:58 -07:00
Andrew Godwin
606c628343 Fanout admin improvements 2022-12-16 21:51:16 -07:00
Andrew Godwin
cc3c3d9816 404 deleted posts 2022-12-16 21:32:08 -07:00
Andrew Godwin
23a3f7e9d2 Flatpage styling 2022-12-16 21:27:55 -07:00
Andrew Godwin
a7d389020a Handle undos of missing posts 2022-12-16 20:17:19 -07:00
Andrew Godwin
f262f582cb Ooh, ooh, ignore server errors too 2022-12-16 20:14:44 -07:00
Andrew Godwin
108afaf6ce We don't care about 404 errors quite as much 2022-12-16 20:14:02 -07:00
Andrew Godwin
727b357744 Fan out replies to the original author's followers
Fixes #64
2022-12-16 20:11:07 -07:00
Andrew Godwin
e5b76c120e Fetch emoji for user profiles 2022-12-16 20:04:28 -07:00
Andrew Godwin
4a28e1708e Make the collectstatic hack slightly better 2022-12-16 19:51:19 -07:00
Andrew Godwin
770f6728f6 Fix mastodon LD namespace
Fixes #179
2022-12-16 19:45:39 -07:00
Andrew Godwin
12567f6891 Identity admin/moderation 2022-12-16 19:42:48 -07:00
Andrew Godwin
c588567c86 Add follow times 2022-12-16 17:39:10 -07:00
Andrew Godwin
be377653fe Fix inbound/outbound links 2022-12-16 17:32:04 -07:00
Andrew Godwin
00795f119e Split Follows page into two types
This overcomes the query problem of pulling a combined list
2022-12-16 17:24:56 -07:00
Gabriel Rodríguez Alberich
fb2eea956e
Several pagination improvements (#170)
Home/Notification gets pagination, Follows becomes ListView
2022-12-16 17:06:29 -07:00
Andrew Godwin
45c6978bc3 User admin and LD schema fixes 2022-12-16 16:38:52 -07:00
Andrew Godwin
1bcdff79e7 Fix hashtag linking and API mentions of empty 2022-12-15 19:26:06 -07:00
Andrew Godwin
e0f1bb629c URLs can be empty too 2022-12-15 19:10:50 -07:00
Andrew Godwin
faca9224ed Handle API identities with no name 2022-12-15 18:59:04 -07:00
Andrew Godwin
c0cd5a5553 Some hashtag json-ld fiddling 2022-12-15 18:58:11 -07:00