Commit graph

547 commits

Author SHA1 Message Date
8057d50ecd „lib/chiya_web/controllers/page_html/channel.html.heex“ ändern 2023-07-05 16:52:41 +02:00
f942fbc4b7 „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-07-05 16:51:07 +02:00
4351e40fad „lib/chiya_web/components/public_components.ex“ ändern 2023-07-05 16:49:55 +02:00
a66eab9771 „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-07-05 16:42:53 +02:00
fdff48d197 „lib/chiya_web/components/public_components.ex“ ändern 2023-07-05 16:40:11 +02:00
2e5c36042e „lib/chiya_web/controllers/page_html/wiki.html.heex“ ändern 2023-07-05 16:34:48 +02:00
a540710a55 „lib/chiya_web/controllers/page_html/tag.html.heex“ ändern 2023-07-05 16:34:36 +02:00
f2b418f07e „lib/chiya_web/controllers/page_html/note.html.heex“ ändern 2023-07-05 16:34:16 +02:00
9542a87f96 „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-07-05 16:33:34 +02:00
cb60767560 „lib/chiya_web/controllers/page_html/channel.html.heex“ ändern 2023-07-05 16:33:20 +02:00
b89739246b „lib/chiya_web/controllers/page_html/about.html.heex“ ändern 2023-07-05 16:32:58 +02:00
86954374c4 „lib/chiya_web/components/layouts/root_public.html.heex“ ändern 2023-07-05 16:32:30 +02:00
1261a33d2d „lib/chiya_web/components/layouts/root_public.html.heex“ ändern 2023-07-05 16:06:52 +02:00
253b32338c „lib/chiya_web/components/layouts/root_public.html.heex“ ändern 2023-07-05 15:58:11 +02:00
6203cd1c4a „lib/chiya_web/components/public_components.ex“ ändern 2023-07-05 13:11:29 +02:00
f3760b06df „lib/chiya_web/controllers/page_html/wiki.html.heex“ hinzufügen 2023-07-05 12:34:44 +02:00
81142a9b1d add custom html 2023-07-05 12:16:09 +02:00
05e19d789b add link to hcard in footer 2023-07-05 07:16:07 +02:00
ab4e751928 tag_update rename schema to note 2023-07-05 06:50:47 +02:00
1de3687693 references: fix docs, fix invalid class, improve structure 2023-07-05 06:50:27 +02:00
e87fa125bb mix format 2023-07-05 06:49:37 +02:00
a777c9a8b3 include internal link rendering 2023-07-04 22:46:00 +02:00
b2e1b3ebc5 improve note_title/1 2023-07-04 22:17:02 +02:00
2d6100bfec add icons for note pages 2023-07-04 07:13:57 +02:00
9784572b17 add pagetitles for note pages 2023-07-04 07:13:49 +02:00
faa7acd064 redirect to new note after publishing from dashboard 2023-07-04 06:59:43 +02:00
c2785d014c move logout button to profile 2023-07-04 06:57:32 +02:00
fbe2d3c5de move note metadata to footer 2023-07-04 06:57:13 +02:00
8022bd578c l 2023-07-03 21:08:34 +02:00
2626db4eb0 fix router 2023-07-03 20:46:16 +02:00
6fddb85c2e add basic hcard 2023-07-03 20:38:35 +02:00
7d2c3aceef add user fields 2023-07-03 20:16:50 +02:00
f10ef9ff9c fix kbar 2023-07-03 20:16:06 +02:00
a94ea1c8ee „lib/chiya/site.ex“ ändern 2023-07-03 13:56:00 +02:00
b2f8a77960 „lib/chiya_web/controllers/setting_html/show.html.heex“ ändern 2023-07-03 13:50:15 +02:00
4870413175 „lib/chiya_web/controllers/setting_html/setting_form.html.heex“ ändern 2023-07-03 13:49:35 +02:00
d1938f762c add wiki_channel setting 2023-07-03 13:48:58 +02:00
2f092d6c6b „lib/chiya_web/controllers/page_html/note.html.heex“ ändern 2023-06-30 15:01:41 +02:00
614bd3911f „lib/chiya_web/controllers/page_html/note.html.heex“ ändern 2023-06-30 13:30:08 +02:00
36b9053932 „lib/chiya_web/controllers/note_html/edit_image.html.heex“ ändern 2023-06-30 13:29:48 +02:00
4b5f0702f8 fix typo 2023-06-30 13:27:14 +02:00
a084153bc0 add permalink to note 2023-06-30 13:18:32 +02:00
6479abcc8b add markdown snippet for images 2023-06-30 13:10:07 +02:00
7f4216981d export datetime/1 2023-06-28 16:38:55 +02:00
20c7adcf6c „lib/chiya_web/controllers/page_html/note.html.heex“ ändern 2023-06-28 16:35:57 +02:00
9fa3034d11 add Format.datetime/1 2023-06-28 16:33:36 +02:00
03e2384d3e h-feed 2023-06-28 16:25:59 +02:00
325d7b7a7e h-feed 2023-06-28 16:24:55 +02:00
54d6de519a fix 2xl layout 2023-06-28 16:22:34 +02:00
ae5f40499e 2xl layout 2023-06-28 16:04:58 +02:00
f1283ab424 2xl layout 2023-06-28 16:03:59 +02:00
8b8803e3e3 nice divder icon 2023-06-28 16:02:30 +02:00
63bcd189cf fix form default styles 2023-06-28 15:20:39 +02:00
787704d5cf microblog pictures 2023-06-27 22:04:44 +02:00
ce223b76db use new Logger module 2023-06-26 23:17:24 +02:00
52838bcdc7 fix logger deprecations 2023-06-26 23:17:11 +02:00
3107b01148 fix warnings 2023-06-26 23:16:56 +02:00
92e548e96c add selected_channels to note_form to properly set default channel 2023-06-23 06:59:30 +02:00
aa36502ddb fix tag updater crashing when error happens 2023-06-23 06:37:48 +02:00
35d6398e15 update megaphone button on home 2023-06-22 21:09:17 +02:00
8278630ef9 add more post kinds for the future 2023-06-20 23:10:57 +02:00
57fd3aea96 allow webp? 2023-06-20 23:10:48 +02:00
f92333716a replace admin_controller with live view, add quick post form 2023-06-20 23:10:40 +02:00
98a119a95b add new function Note.note_title 2023-06-20 23:08:55 +02:00
741483b474 apply default layout on note creation 2023-06-20 20:28:45 +02:00
3bcef1ad8a first pass of channel support for micropub 2023-06-19 22:23:55 +02:00
c6bf356b84 fix publishing losing channels 2023-06-19 22:07:37 +02:00
cd603ed773 add toggle featured button for images 2023-06-19 21:49:41 +02:00
14fd43faf2 consolidate core and admin components 2023-06-19 21:49:01 +02:00
9c6ec988f1 prepare default channel for micropub 2023-06-12 18:50:00 +02:00
8ef8ad14b2 mix format 2023-06-11 22:22:22 +02:00
627c758acd add source query support 2023-06-11 22:22:17 +02:00
3f5a4ab56f remove public comments for now 2023-06-11 20:50:41 +02:00
1959773113 remove deprecated use of upload_errors/1 2023-06-11 20:48:58 +02:00
6c3073a637 add micropub channel setting 2023-06-11 20:39:14 +02:00
6eaa72ca58 fix list_tags ordering by title instead of name 2023-06-11 10:10:19 +02:00
c36c645405 fix typo 2023-06-11 09:18:00 +02:00
4b5aa3cd77 switch back to plug_micropub, implement category query 2023-06-11 08:57:22 +02:00
cec06bb7de „lib/chiya_web/indie/micropub_handler.ex“ ändern 2023-06-09 23:23:45 +02:00
a63d6385c2 fix logging 2023-06-09 23:19:10 +02:00
44db8a2efa remove logging, add handler_behaviour 2023-06-09 23:07:32 +02:00
435eb20195 include plug_micropub 2023-06-09 22:55:23 +02:00
a3e3b91004 add file logging 2023-06-09 20:37:29 +02:00
3c6e239659 improve error handling and logging for micropub_handler 2023-06-09 20:07:59 +02:00
5c47b2aacb add cors_plug 2023-06-09 19:06:39 +02:00
83b1d6e22f fix channels 2023-06-08 15:03:12 +02:00
b728fddf9a add post-types 2023-06-08 09:21:33 +02:00
f4cb262310 add app_token verification, add config, syndicate query 2023-06-08 09:06:16 +02:00
5a3823c519 add token management, add app tokens 2023-06-06 22:00:42 +02:00
488a515a24 add admin link back 2023-06-04 20:55:25 +02:00
4d15b60e84 mix format 2023-06-03 11:48:08 +02:00
7049286a79 improve overall layout 2023-06-03 11:47:55 +02:00
40fe6d05a5 mix format 2023-06-03 09:27:43 +02:00
b86e3a5072 add image helper, fuck with homepage design and spacing, microblog imgs 2023-06-03 09:26:45 +02:00
625cbdd00a improve menu, fix tag page 2023-06-02 07:31:47 +02:00
0d4fb07759 meaningful urls in micropub 2023-06-02 07:10:59 +02:00
5f07bf6e1f meaningful urls 2023-06-02 07:07:22 +02:00
1bdba3b544 add support for publishing 2023-06-01 23:22:16 +02:00
2aa8ff0825 debug 2023-05-31 22:15:39 +02:00
3a4b82e12e fix namespace stuff 2023-05-31 21:56:42 +02:00
f0265155f0 fix implementing plug_micropub behaviour 2023-05-31 21:42:55 +02:00
5f84446ecf WIP: minimal viable micropub ? 2023-05-31 21:32:34 +02:00
f2035385db wip micropub 2023-05-28 22:59:11 +02:00
a65e1a613d add initial indieauth logic, add tesla 2023-05-28 22:36:13 +02:00
76185e3b57 add indieweb endpoint meta tags 2023-05-28 22:35:36 +02:00
df0af6af46 fix identities on home page and in head, mix format 2023-05-25 21:23:04 +02:00
db51df78a9 tootired 2023-05-23 22:19:37 +02:00
e52dc03ab2 fix footer menu 2023-05-23 09:57:33 +02:00
cb756fad5a prevent channel links from overlapping 2023-05-23 09:55:25 +02:00
a41acf52da blah 2023-05-22 21:05:33 +02:00
1f7cf25996 fix channel layout 2023-05-22 20:15:12 +02:00
f94a3a07d9 improve 2023-05-22 20:05:44 +02:00
41bb98b0fc redesign everything again, simplify stuff or whatever its late 2023-05-21 22:45:06 +02:00
2bdb7a0259 add microblog layout, fix theming for comment form 2023-05-21 09:54:38 +02:00
0b61b7f4f8 add pretty_datetime, fix with tz data & local_now 2023-05-21 09:53:47 +02:00
d6fb14bb38 add publish unpublish actions 2023-05-21 09:53:17 +02:00
e7024a767a fix theme 2023-05-20 23:50:53 +02:00
2d05a886d0 remake theme, focus on gruvbox 2023-05-20 19:26:58 +02:00
a4370735eb mix format 2023-05-09 16:24:46 +02:00
18b8a49695 list and show comments in admin 2023-05-09 16:18:10 +02:00
13a6eddf1b mix format 2023-05-07 10:32:26 +02:00
d24ee9e69f make default channel configurable 2023-05-07 10:32:21 +02:00
0c27f1808e show channel layout in admin channel show page 2023-05-07 10:30:58 +02:00
df27f03db1 add note_list component 2023-05-07 10:30:32 +02:00
43cad45705 add comments 2023-04-30 13:35:22 +02:00
a5dd041c42 render unpublished note when logged in 2023-04-30 11:56:45 +02:00
5ab196ae16 mix format 2023-04-29 09:43:34 +02:00
f13cc8f159 fix dark mode toggle 2023-04-14 14:11:11 +02:00
7cb9122f67 improve dark mode toggle 2023-04-14 14:06:07 +02:00
34a15d5fff implement gallery layout for channel, first pass 2023-04-13 23:52:01 +02:00
9560ee3ae6 „lib/chiya_web/controllers/note_html/edit_image.html.heex“ ändern 2023-04-13 13:51:48 +02:00
9575ea0393 add preview of image in image_edit 2023-04-13 13:10:46 +02:00
0dc4834fe5 add moon emoji as darkmode toggle to public pages 2023-04-13 12:52:56 +02:00
360f171850 align font sizes in admin_bar 2023-04-13 11:16:12 +02:00
57c20ca96c bigger admin bar 2023-04-12 13:39:23 +02:00
80b1b1c14c improve channel filter buttons 2023-04-11 23:00:47 +02:00
abeef833ff fix crash when updating references 2023-04-11 22:52:45 +02:00
48d66bf2b5 add unique_constraint to note_note 2023-04-11 13:03:42 +02:00
231f161bb1 add logging for references 2023-04-11 12:53:43 +02:00
84d879ddc9 fix tags 2023-04-10 19:22:34 +02:00
83aac55273 mix format 2023-04-10 19:22:28 +02:00
ebacb7919c add tags \o/ 2023-04-10 19:18:27 +02:00
03256e4f9d fix svg color 2023-04-10 17:31:10 +02:00
aa12a24c9c fix forgot password link on dark theme 2023-04-10 17:25:47 +02:00
f2116510b0 add post kind recipe 2023-04-10 12:08:41 +02:00
91535a8165 mix format 2023-04-10 12:08:19 +02:00
7fa21aaa6f change link color to primary 2023-04-09 23:51:45 +02:00
a78e25da4a add link slug to copy 2023-04-09 18:36:00 +02:00
a62722fe17 add note references 2023-04-09 16:14:55 +02:00
805eacdf1e switch footer and admin bar text 2023-04-09 13:57:52 +02:00
b01b248d15 add rounded to note image thumbs 2023-04-09 13:52:26 +02:00
7a28eca1ab add accept attribute to input component 2023-04-09 13:44:08 +02:00
cb0c9d7a83 add edit link to public notes 2023-04-09 13:43:54 +02:00
6c55df3139 only filter by non-empty channels, clean up 2023-04-08 15:28:02 +02:00
d7c9ed8398 filter notes by channel 2023-04-08 11:40:41 +02:00
143dc9b747 icons, dates 2023-04-08 09:54:57 +02:00
b29de407bb improve table and list components with themed background 2023-04-08 09:54:47 +02:00
a15edfb01c fix file content on note show 2023-04-08 09:54:11 +02:00
45100ac98d show channel visibility on note form and channel index, show note count on channel index 2023-04-08 09:53:27 +02:00
d482d2b7b0 add icons to all the bars 2023-04-07 22:01:57 +02:00
9e1a315b99 add layout to channels 2023-04-07 22:01:43 +02:00
3cf4e0163a add site footer 2023-04-07 16:19:56 +02:00
6edda5ae67 fix login text color 2023-04-07 16:19:43 +02:00
4c0a073d3d file import 2023-04-07 11:37:55 +02:00
4aa1f24000 fix margin on home page 2023-04-07 10:32:24 +02:00
bcae8b0d92 only show public and active identities on home page 2023-04-07 10:32:16 +02:00
f55dc9af0a show last edit on note page 2023-04-06 15:21:03 +02:00
ecbaa22d06 switch to server rendered note_image form 2023-04-06 15:03:04 +02:00
31b7856603 add glightbox 2023-04-06 14:21:59 +02:00
bf93ca6045 „lib/chiya_web/controllers/page_html/note.html.heex“ ändern 2023-04-04 15:36:57 +02:00
5fca0fd37f „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-04-04 15:36:05 +02:00
115f349f96 „lib/chiya_web/controllers/page_html/channel.html.heex“ ändern 2023-04-04 15:35:53 +02:00
23b96814d0 set textarea rows for notes content to 15 2023-04-04 15:17:16 +02:00
68c62fcee8 simplify margins in public pages 2023-04-03 22:22:02 +02:00
5a2924f704 fix admin_bar theming 2023-04-03 22:02:30 +02:00
3702ceab4e sexy admin bar 2023-04-03 11:01:45 +02:00
4c68d4be5c fix forms 2023-04-02 23:55:43 +02:00
64cc1a7e55 add slugs for note and channel 2023-04-02 23:46:49 +02:00
eba003b3b5 clean up 2023-04-01 16:05:24 +02:00
d82f373bd2 initial admin page 2023-04-01 16:05:20 +02:00
a1204de1aa improve image lightbox sizes 2023-04-01 12:28:12 +02:00
af884c753c add featured flag to note_images, support updating note_images 2023-04-01 12:09:58 +02:00
f9af1e709c add gruvbox theme 2023-03-31 22:56:34 +02:00
58550fe4f3 add note export as raw text 2023-03-31 22:20:32 +02:00
e73bebcfff dont load admin js on public pages 2023-03-31 17:33:42 +02:00
af3c8c8075 lazyload lightbox images 2023-03-31 17:30:24 +02:00
64d368c5b6 add channels to setting form attributes 2023-03-31 17:00:30 +02:00
d1f4b70fe8 split up components into admin and public 2023-03-31 17:00:09 +02:00
0fa4826143 mix format 2023-03-31 16:58:10 +02:00
486fd65f4f „lib/chiya_web/controllers/page_html/channel.html.heex“ ändern 2023-03-31 13:54:35 +02:00
dcdf17b76f remove target blank on identities links 2023-03-31 13:42:45 +02:00
d3f585f807 order channels by visibility 2023-03-31 13:41:50 +02:00
50d196d0b9 add channel note list 2023-03-31 13:23:18 +02:00
943295c989 fix typo 2023-03-31 13:13:38 +02:00
cfd17bf711 „lib/chiya_web/components/layouts/public.html.heex“ ändern 2023-03-31 13:08:05 +02:00
5bfb9440ad „lib/chiya_web/router.ex“ ändern 2023-03-31 12:15:07 +02:00
cba65e404c nicer title styles 2023-03-31 11:39:04 +02:00
043155b92a improve note page title 2023-03-31 10:01:54 +02:00
54dea4e2a2 make link color and version badge primary 2023-03-30 23:09:39 +02:00
a429629b79 show updated at in admin notes 2023-03-30 22:56:58 +02:00
b815344885 improve links on home, adjust to themes 2023-03-30 22:56:47 +02:00
82d2aeebaf improve menus 2023-03-30 22:56:06 +02:00
7e0f009a58 add class to input component 2023-03-30 22:55:24 +02:00
671049b4fc add default value for note kind 2023-03-30 22:54:15 +02:00
d97be57871 order admin notes 2023-03-30 22:54:03 +02:00
03466b8460 replace roguelight with frame theme 2023-03-30 14:29:04 +02:00
e7c037e5a2 add theme toggle to admin bar again 2023-03-30 13:07:37 +02:00
c7c4f554f9 add theming to public pages, make default theme dark/light 2023-03-29 18:47:45 +02:00
46997c261d add hover state for home items 2023-03-29 16:10:53 +02:00
c8a930e5ef make custom_html output raw 2023-03-27 14:36:10 +02:00
b6166580dc render custom_html and custom_css 2023-03-27 11:53:09 +02:00
70366d8d7f order channel notes by published_at date 2023-03-27 09:17:22 +02:00
585ffd5145 add favicon \o/ 2023-03-23 08:24:13 +01:00
c6bc2a8797 add default settings 2023-03-23 08:18:16 +01:00
2befd9e2a3 add default channel 2023-03-23 08:18:05 +01:00
d088ad71f8 move uploaders modules to chiya_web 2023-03-23 08:17:47 +01:00
a890cfab96 create admin_components 2023-03-22 23:17:36 +01:00
f90fba4e4c add border to image thumbs 2023-03-22 10:39:58 +01:00
7657cd7da3 fix scrolling to top on lightbox close for admin 2023-03-22 08:37:52 +01:00
b9bafebee9 fix scrolling to top on lightbox close 2023-03-22 08:36:45 +01:00
6de86fc4de add kbar \o/ 2023-03-22 07:31:38 +01:00
a95db98e96 switch to npm and node \o/ 2023-03-21 07:19:10 +01:00
8f686b4ce4 change dark mode toggle icon 2023-03-18 08:28:51 +01:00
7117d19732 fix identity icons in admin 2023-03-17 21:21:01 +01:00
c133b8b3a8 add dark mode with toggle for admin \o/ 2023-03-17 20:46:25 +01:00
401edc3f9b „lib/chiya_web/controllers/page_controller.ex“ ändern 2023-03-17 09:44:46 +01:00
5ad50b41e9 „lib/chiya_web/controllers/setting_html/show.html.heex“ ändern 2023-03-16 12:53:37 +01:00
9172af4c9e „lib/chiya_web/controllers/setting_html/show.html.heex“ ändern 2023-03-16 08:45:12 +01:00
de3daea40e apply prose invert based on the theme variant \o/ 2023-03-16 07:30:58 +01:00
1eb249a510 go for theming like a boss, then back out bc of prose styles :3 2023-03-15 19:16:01 +01:00
28cd88c431 „lib/chiya/site/setting.ex“ ändern 2023-03-15 16:24:54 +01:00
3e1621497c „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-03-15 16:21:20 +01:00
73c2022ee8 „lib/chiya_web/components/layouts/root_public.html.heex“ ändern 2023-03-15 16:19:16 +01:00
93c67782ff „lib/chiya_web/components/layouts/root_public.html.heex“ ändern 2023-03-15 16:06:38 +01:00
11cbe215c2 „lib/chiya_web/components/core_components.ex“ ändern 2023-03-15 16:04:51 +01:00
36031469f3 „lib/chiya_web/components/core_components.ex“ ändern 2023-03-15 16:03:08 +01:00
7d44053f1b „lib/chiya_web/components/layouts/root_public.html.heex“ ändern 2023-03-15 16:02:23 +01:00
e9deb3ce03 „lib/chiya_web/components/layouts/root_app.html.heex“ ändern 2023-03-15 16:02:05 +01:00
b7d74db516 „lib/chiya_web/components/core_components.ex“ ändern 2023-03-15 16:01:11 +01:00
fbdae68202 „lib/chiya_web/router.ex“ ändern 2023-03-15 15:58:17 +01:00
b6bbf0120e „lib/chiya_web/components/layouts/root_public.html.heex“ hinzufügen 2023-03-15 15:56:14 +01:00
ab2d3ad482 „lib/chiya_web/components/layouts/root_app.html.heex“ ändern 2023-03-15 15:55:23 +01:00
cbd3432b09 „lib/chiya_web/components/layouts/public.html.heex“ ändern 2023-03-15 10:22:43 +01:00
8f88d1e211 add spacing between notes on home pgae 2023-03-15 10:07:22 +01:00
43f9c9e2c9 add link to about note 2023-03-15 09:55:36 +01:00
2e855ff54b add flex to channel notes 2023-03-15 09:22:03 +01:00
b0be3e03ae improve note list on home page 2023-03-15 09:07:22 +01:00
e0f682ae2c fix double preloading on home page 2023-03-15 07:24:02 +01:00
cff51fa288 handle nil for from_now 2023-03-15 07:17:00 +01:00
599275e444 handle nil for pretty_date 2023-03-14 23:56:11 +01:00