Commit graph

349 commits

Author SHA1 Message Date
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
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
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
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
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
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
585ffd5145 add favicon \o/ 2023-03-23 08:24:13 +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
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
6b687a8cca filter out private / unpublished notes for page controller 2023-03-14 23:48:58 +01:00
d1032f6e6b add error helper for controllers to generate error messages 2023-03-14 23:48:00 +01:00
ca2400c8f0 save and show identity icons as raw svg 2023-03-14 22:57:40 +01:00
3613b27741 show home channel id in settings 2023-03-14 07:21:53 +01:00
2431a07918 add gallery to public note 2023-03-13 05:59:40 +01:00
1dc8a313d6 add preview button to admin note page 2023-03-13 05:59:29 +01:00
917c97ad61 replace zinc color with configurable gray color 2023-03-13 05:44:12 +01:00
9280cba900 clean up 2023-03-13 03:27:26 +01:00
17753ee671 improve from_now/2 2023-03-13 03:27:17 +01:00
9e9b58f9a6 add markdown rendering 2023-03-13 03:26:39 +01:00
c969e6e90f add home channel setting, first pass of public routesfix identity tests 2023-03-11 00:05:16 +01:00
d374880152 „lib/chiya_web/controllers/note_html/index.html.heex“ ändern 2023-03-10 15:12:23 +01:00
8a109437bc „lib/chiya_web/format.ex“ ändern 2023-03-10 15:11:24 +01:00
e0909dd50b „lib/chiya_web/controllers/note_html/index.html.heex“ ändern 2023-03-10 15:07:28 +01:00
ceca798667 „lib/chiya_web/controllers/note_html/index.html.heex“ ändern 2023-03-10 13:55:33 +01:00
ebf6e4d3ce „lib/chiya_web/controllers/note_html/index.html.heex“ ändern 2023-03-10 13:52:17 +01:00
726de167a0 „lib/chiya_web/format.ex“ ändern 2023-03-10 13:49:01 +01:00
ba81c7e351 „lib/chiya_web/format.ex“ hinzufügen 2023-03-10 12:49:06 +01:00
7933a713c5 „lib/chiya_web/components/layouts/root.html.heex“ ändern 2023-03-10 10:02:18 +01:00
abeb71ef93 add admin home route 2023-03-10 10:01:52 +01:00
d6521c4303 „lib/chiya_web/controllers/admin_html/home.html.heex“ hinzufügen 2023-03-10 10:01:14 +01:00
f4974c9969 „lib/chiya_web/controllers/admin_controller.ex“ hinzufügen 2023-03-10 10:00:27 +01:00
2f61727a57 „lib/chiya_web/controllers/admin_html.ex“ hinzufügen 2023-03-10 09:59:44 +01:00
8ffabf6285 add settings to secondary menu 2023-03-10 09:58:51 +01:00
c6c700719a fix icon component call 2023-03-09 22:21:23 +01:00
5bf3782927 show identities on home, add icon to identities 2023-03-09 22:18:19 +01:00
c72ed6fca8 remove explicitly assigning settings in home 2023-03-09 21:46:26 +01:00
7776cd991a fix incorrect usage of variables in heex template 2023-03-09 21:46:07 +01:00
f1c22b2cdc add identity routes 2023-03-09 21:45:43 +01:00
25de860525 mix format 2023-03-09 21:45:17 +01:00
83e5356e80 add global_assigns and public pipeline 2023-03-09 21:44:06 +01:00
7236ac409c mix format 2023-03-09 21:43:30 +01:00
fe22704f8f add identities to menu 2023-03-09 21:43:05 +01:00
360e6fac2b add identities 2023-03-09 21:42:54 +01:00
839546e22c add deleting images 2023-03-09 21:04:16 +01:00
6e701b539a „lib/chiya_web/router.ex“ ändern 2023-03-09 15:50:22 +01:00
633068d4df „lib/chiya_web/controllers/page_html/channel.html.heex“ ändern 2023-03-09 15:39:02 +01:00
735347af54 „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-03-09 15:38:44 +01:00
c9458f1334 „lib/chiya_web/controllers/page_controller.ex“ ändern 2023-03-09 15:37:10 +01:00
4d21c326e3 add public layout 2023-03-09 15:36:23 +01:00
0d2814d74e „lib/chiya_web/controllers/page_html/channel.html.heex“ ändern 2023-03-09 15:08:48 +01:00
a38f15d1b1 fix typo 2023-03-09 15:06:24 +01:00
1c871dc50f remove channels from note attribute list 2023-03-09 15:03:22 +01:00
cc954cf1e8 add channel top-level route 2023-03-09 14:49:20 +01:00
c849c22844 „lib/chiya_web/controllers/page_html/channel.html.heex“ hinzufügen 2023-03-09 14:48:34 +01:00
0cf474ec97 add channel action in page controller 2023-03-09 14:43:31 +01:00
3eee2e004f „lib/chiya_web/live/note_show_live.ex“ ändern 2023-03-09 09:23:58 +01:00
3afafb88d0 „lib/chiya_web/live/note_show_live.ex“ ändern 2023-03-09 09:19:57 +01:00
d041cc9a5d „lib/chiya_web/live/note_show_live.ex“ ändern 2023-03-09 09:19:11 +01:00
9f3ad7d526 „lib/chiya_web/live/note_show_live.ex“ ändern 2023-03-09 09:16:00 +01:00
a463c58f6e „lib/chiya_web/live/note_show_live.ex“ ändern 2023-03-09 08:53:00 +01:00
98e82deb94 add note images 2023-03-09 07:28:06 +01:00
0715da85b8 clean up user_image 2023-03-09 07:27:39 +01:00
f11d8a46a2 Merge remote-tracking branch 'origin/main' 2023-03-08 18:55:01 +01:00
bf0000b19d „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-03-08 15:00:13 +01:00
ed5280489b „lib/chiya_web/controllers/page_html/home.html.heex“ ändern 2023-03-08 09:10:52 +01:00
e2159ecad6 „lib/chiya_web/controllers/page_controller.ex“ ändern 2023-03-08 09:10:07 +01:00
05b0d1076c set custom css/html fields to textarea in setting form 2023-03-07 23:33:45 +01:00
0710a652ef remove slug and url from note index table 2023-03-07 23:19:45 +01:00
5eda2c7156 add site settings 2023-03-07 23:05:33 +01:00
be0d27ea10 clean up 2023-03-07 21:48:18 +01:00
c11ab228b9 add user profile show page 2023-03-07 21:24:24 +01:00
ed676c59d3 rename /users routes to /user 2023-03-07 21:15:26 +01:00
1c9a1a6d1c add live_upload to core_components, use in user_settings 2023-03-07 19:58:16 +01:00
835b455d4b add post image uploader 2023-03-07 19:57:37 +01:00
8874e0e7ba turn post kind field into enum 2023-03-07 19:57:28 +01:00
06bd69b7b1 move user_image into uploaders module, activate dithered version 2023-03-07 18:59:49 +01:00
ea53535816 remove logo and show chiya version 2023-03-07 13:34:00 +01:00
5af821a82b add avatar image to user 2023-03-06 23:15:23 +01:00
f50d9916f4 reject registration if user already exists 2023-03-06 21:13:52 +01:00
62b118afe7 move note and channel resources to /admin 2023-03-06 19:57:43 +01:00
4ca873d77b add admin prefix to note and channel urls 2023-03-06 19:57:19 +01:00
d8d288c1e9 fix colors in admin header, use text-xs 2023-03-06 11:42:35 +01:00
fa866cc10e set content to textarea and remove from index pages 2023-03-05 23:51:08 +01:00
127757b12a add many_to_many relation for channel<->note 2023-03-05 23:46:23 +01:00
58d11699f3 customize menu 2023-03-05 18:09:32 +01:00
21ee3298b6 add notes 2023-03-05 17:23:16 +01:00
ae59609b28 add channels 2023-03-05 17:16:24 +01:00
8ae56a8bc1 add auth 2023-03-05 16:13:00 +01:00
7115ccab2b init 2023-03-05 16:07:40 +01:00