Commit Graph

738 Commits

Author SHA1 Message Date
teddit 84d0009984 add an example about setting the suggested_subreddits array with env vars 2022-06-11 22:59:12 +02:00
teddit a0c74aa309 fix sortby key, should be confidental and not best 2022-06-11 21:55:32 +02:00
teddit 4663b3a78d Merge pull request 'Add setting for preferred default comment sorting' (#319) from redmt/teddit:default_comment_sorting into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/319
2022-06-11 21:44:47 +02:00
redmt 4ff7152be1 Add setting for preferred default comment sorting 2022-06-11 21:40:12 +02:00
teddit b1f65f31d8 Merge pull request 'Fix error in the search route' (#318) from StevenNMeza/teddit:fix_search_error into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/318
2022-06-11 21:35:49 +02:00
StevenNMeza 231348e75e Fix error in the search route 2022-06-11 21:34:00 +02:00
teddit 1fbef42a7c Merge pull request 'Allow optional large image display with captions for galleries' (#317) from redmt/teddit:large_gallery_images_with_caption into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/317
2022-06-11 21:11:12 +02:00
redmt 9fd891b474 Add setting to show large gallery images with captions 2022-06-11 21:04:55 +02:00
redmt 0bf27cfd6c Update post.pug and styles.css for large gallery images 2022-06-11 20:59:35 +02:00
redmt fc56f0a833 Update processJsonPost.js to include gallery image captions 2022-06-11 20:55:14 +02:00
teddit 1759724268 add the suggested_subreddits config to the list of env vars 2022-06-11 20:03:13 +02:00
teddit 601e393dda Merge pull request 'Add .vscode to .gitignore' (#316) from redmt/teddit:add_dotvscode_to_gitignore into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/316
2022-06-11 20:01:16 +02:00
redmt d8edffba1a Add .vscode to .gitignore 2022-06-11 19:58:32 +02:00
teddit 270e9e5ceb update version 0.4.5 => 0.4.6 2022-06-11 19:56:48 +02:00
teddit 28c3c60078 add missing config require 2022-06-11 19:53:25 +02:00
teddit 7f981f69ae Merge pull request 'Add suggested_subreddits option to config.js' (#315) from redmt/teddit:default_subreddits_as_config_option into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/315
2022-06-11 19:48:17 +02:00
redmt 1f6f5d621d Update user.js to pass instance_config to template 2022-06-11 19:40:37 +02:00
redmt 53a5766de7 Update static.js to pass instance_config to template 2022-06-11 19:40:36 +02:00
redmt a0fcdf101e Update search.js to pass instance_config to template 2022-06-11 19:40:34 +02:00
redmt 55bd044b06 Update save.js to pass instance_config to template 2022-06-11 19:40:32 +02:00
redmt b2dba3f723 Update preferences.js to pass instance_config to template 2022-06-11 19:40:31 +02:00
redmt 8f57cb143b Update home.js to pass instance_config to template 2022-06-11 19:40:29 +02:00
redmt 69a9b0e080 Update inc/initRedditApi.js to pass instance_config to template 2022-06-11 19:40:27 +02:00
redmt afbad4ae3b Update subreddit.js to pass instance_config to template 2022-06-11 19:40:26 +02:00
redmt 20db540b5c Update topbar.pug to use suggested_subreddits 2022-06-11 19:40:23 +02:00
redmt cfdfd4a2b1 Rename internal_config to instance_config for homepage.pug 2022-06-11 19:40:16 +02:00
redmt 555ff9068b Fix search form width for homepage.pug 2022-06-11 19:40:13 +02:00
redmt 2ff979bdda Update homepage.pug to show suggested subreddits 2022-06-11 19:40:00 +02:00
redmt 108f87a5e4 Add suggested_subreddits option to config.js.template 2022-06-11 19:39:38 +02:00
teddit b0d5377e21 update packages and update package-lock.json (fixes #313) 2022-06-11 18:33:30 +02:00
teddit 0432c7484d hide top links from the top bar in the cleaned homepage view 2022-06-11 14:00:01 +02:00
teddit a63b5beb7e add top bar to the cleaned homepage, and also fix the homepage pug markup (by adding commas after attrs) 2022-06-11 13:56:37 +02:00
teddit 60d9b33825 update version 0.4.4 => 0.4.5 2022-06-11 13:48:41 +02:00
teddit c9b2dbf750 fix identation 2022-06-11 13:45:15 +02:00
teddit b797cef167 fix clean_homepage feature so that the user can enable or disable it despite of the instance config 2022-06-11 13:42:19 +02:00
teddit 096c7218d4 Merge pull request 'Add cleaned homepage' (#312) from redmt/teddit:add_clean_homepage into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/312
2022-06-11 11:51:47 +02:00
redmt fb6673265e Add cleaned homepage 2022-06-10 22:24:58 +02:00
redmt 546fdb5d77 Convert 'on' value in prefer_frontpage setting to 'true' 2022-06-10 22:22:37 +02:00
redmt d368acac29 Hide homepage setting when it's disabled site-wide 2022-06-10 22:21:54 +02:00
redmt d6b2e0700a Fix wrong rename for frontpage.pug 2022-06-10 21:45:18 +02:00
redmt 6c52664155 Add setting to preferences for preferred homepage mode 2022-06-10 21:24:13 +02:00
redmt 27ade36805 Rename index.pug to frontpage.pug 2022-06-10 20:05:36 +02:00
redmt 354180119f Add clean_homepage option to config.js.template 2022-06-10 20:03:25 +02:00
teddit 3855a618ee update version 0.4.3 => 0.4.4 2022-06-10 19:32:34 +02:00
teddit 9e4ea80c7e check that subreddit_about exists (sometimes it might be null and referencing to the public_description_html will throw an error 2022-06-10 19:30:24 +02:00
teddit 1c9b125b70 Merge pull request 'Add OpenGraph meta tags for rich embeds' (#311) from redmt/teddit:add_opengraph_meta_tags_for_embeds into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/311
2022-06-10 19:14:31 +02:00
redmt 7f8cc27ffb Add og: meta tags in user.pug 2022-06-10 16:10:28 +02:00
redmt 7a508c55ee Add og: meta tags in subreddits_explore.pug 2022-06-10 16:10:14 +02:00
redmt 05d7db481c Add og: meta tags in subreddit_wiki.pug 2022-06-10 16:09:54 +02:00
redmt ae429bcbf9 Add og: meta tags in search.pug 2022-06-10 16:09:40 +02:00