Commit graph

299 commits

Author SHA1 Message Date
Matt Baer
8684ff04a4 Merge branch 'develop' into markdown-descriptions 2022-12-25 00:47:41 -05:00
Matt Baer
950090c0d7 Fix whitespace in templates/user/include/header.tmpl 2022-11-14 23:42:37 -05:00
Matt Baer
01c920b253 Merge branch 'develop' into custom-css 2022-11-14 23:41:36 -05:00
Matt Baer
4b33c51ece
Merge pull request #540 from writefreely/better-titles-stats
Show post excerpt in stats list when no post title
2022-11-14 23:37:21 -05:00
Matt Baer
4680e2e046 Show post excerpt in stats list when no post title
Originally requested on the forum:
https://discuss.write.as/t/use-non-random-ids-for-untitled-posts-in-blog-stats/5046
2022-03-29 13:23:20 -04:00
Matt Baer
fd44bc5707 Fix whitespace 2022-01-31 22:24:56 -05:00
Matt Baer
9ee83ae885 Support custom instance-level stylesheet
Will render if a file exists at: static/local/custom.css

Ref T563
2022-01-31 22:18:52 -05:00
Matt Baer
a0e936ee1b Support Markdown and rel=me links in blog descriptions
Ref T874 T744
2022-01-18 16:43:17 -05:00
Matt Baer
1530bf37ef
Merge pull request #506 from writefreely/minor-fixes
Miscellaneous fixes
2021-12-29 17:53:16 -05:00
Matt Baer
129f428bfa Remove unnecessary "upgrade" collection template 2021-11-24 12:45:02 -05:00
Matt Baer
2a0298cd46 Make metadata dropdown design consistent 2021-08-30 17:46:02 -04:00
Matt Baer
44bfd4573e Support keyboard navigation on pad publish target dropdown 2021-08-23 14:07:25 -04:00
HeartDev
cc69f9f2f1 Templates: use relative URLs for static assets
I noticed most asset links use relative URLs, except for a few. This commit remedies this inconsistency.
OpenGraph embeds were not changed, because in my experience, some embed scrapers require absolute URLs.

Motivation: The site I use has an onion and a clearnet version, and currently, visiting the onion loads fonts, styles, and the favicon
over the clearnet.
2021-08-21 10:18:27 +00:00
Matt Baer
42db4b38f6 Truncate paid posts and show badge on Reader 2021-06-09 11:09:53 -04:00
Matt Baer
e42ba392c6 Support Web Monetized split content
Ref T770
2021-06-07 15:52:24 -04:00
Matt Baer
f0697fd555 Merge branch 'develop' into wm-fix 2021-06-07 14:58:14 -04:00
Matt Baer
6740fbe097 Support publishing title-only posts 2021-05-25 17:04:17 -04:00
Matt Baer
ddc7087d1e Fix Web Monetization option not showing on Customize page 2021-05-25 10:17:57 -04:00
Matt Baer
73450a50e3
Merge pull request #356 from writefreely/draft-list-paging
Draft list paging
2021-05-04 09:39:22 -04:00
Matt Baer
895e04c8c4
Merge pull request #443 from writefreely/minor-fixes
Minor WYSIWYG and miscellaneous fixes
2021-04-30 11:31:06 -04:00
Matt Baer
b2c6c6c167 Rename wysiwyg editor to classic 2021-04-29 17:09:24 -04:00
Matt Baer
d3d77cee54 Make open account deletion configurable
This adds a configuration option to the [app] section: open_deletion. When
true, users can delete their account on their own.

Ref T319
2021-04-22 13:13:47 -04:00
Matt Baer
b092421f6e Add Cross-Site Request Forgery (CSRF) protection on account deletion
This requires admins to generate a new encryption key with:
  writefreely keys generate

Ref T319
2021-04-22 12:41:54 -04:00
Matt Baer
a6c93c37da Move user account deletion to confirmation modal
This mimics the admin UI for deleting a user account.

Ref T319
2021-04-22 11:55:17 -04:00
Matt Baer
f689706baa Merge branch 'T319-admin-delete-acct' into T319-user-delete-acct 2021-04-22 10:14:48 -04:00
Matt Baer
e4164cbf67 Move admin user deletion confirmation to modal
Ref T319
2021-04-22 10:08:05 -04:00
Matt Baer
3b58d77e67 Merge branch 'develop' into T319-admin-delete-acct 2021-04-22 09:07:40 -04:00
Matt Baer
c0fdd8af49
Merge pull request #452 from writefreely/fix-ace-touchscreens
Disable Ace editor on touchscreen devices
2021-04-19 16:25:53 -04:00
Matt Baer
c06a739f9b
Merge pull request #450 from writefreely/fix-markdown-import-safari
Accept general text/* files on post import
2021-04-19 16:23:45 -04:00
Matt Baer
439f8bd262
Merge pull request #444 from writefreely/log-out-pass-blog
Support logging out of password-protected blogs
2021-04-12 14:11:12 -04:00
Matt Baer
63fa8d299a Include 'move to...' action in loaded draft posts
Ref T401
2021-04-07 16:44:18 -04:00
Matt Baer
27b43ac2f1 Merge branch 'develop' into draft-list-paging 2021-04-07 15:58:25 -04:00
Matt Baer
51a83069c4 Disable Ace editor on touchscreen devices
Ace doesn't work well with touchscreen devices, so instead we fall back to a
plain textarea.
2021-04-07 14:58:09 -04:00
Matt Baer
484d2736ce Update repo URL to writefreely org
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Matt Baer
f8888df746 Accept general text/* files on post import
This fixes an issue with Safari not allowing users to select *.md files.

Closes #334
2021-04-06 15:59:32 -04:00
Matt Baer
02490c798c Only set lang on initial publish in all editors
This fixes #280 in all editors, continuing work from #435.
2021-04-06 12:38:45 -04:00
Matt Baer
11e636359d Clean up lang field setting in pad.tmpl
This continues work by @cjeller1592 in #435.
2021-04-06 12:37:26 -04:00
Matt Baer
50c4e944a4 Merge branch 'develop' into minor-fixes 2021-04-06 12:30:37 -04:00
Matt Baer
e58e457b25
Merge pull request #435 from cjeller1592/lang-metadata
Add conditional for preserving lang metadata
2021-04-06 12:17:35 -04:00
Matt Baer
2c1d3a51af
Merge pull request #429 from x4e/develop
Case insensitive language highlighting matching
2021-04-06 11:31:08 -04:00
Matt Baer
5a3e8d59b6 Support logging out of password-protected blogs
Closes T492
2021-03-29 20:55:21 -04:00
Matt Baer
6f665e7e4b Fix light / dark mode toggle in WYSIWYG editor 2021-03-25 13:02:57 -04:00
Matt Baer
b3dd06c79b Merge branch 'develop' into wysiwyg 2021-03-03 17:38:28 -05:00
CJ Eller
391844fab9
Add conditional for preserving lang metadata
This makes it so that if a post is updated, it will retain the language metadata rather than revert back.
2021-02-10 18:01:32 -05:00
x4e
795748457c
Case insensitive language highlighting matching
This automatically lowercases language names used in code blocks when finding highlighting scripts for them, since highlightJS defines all languages with lowercase names.
2021-01-24 01:24:12 +00:00
Matt Baer
3b91400b62
Merge pull request #387 from writeas/resize-customize-editor
Automatically resize CSS editor
2020-10-13 08:51:05 -04:00
Matt Baer
e1cde913e2
Merge pull request #369 from writeas/web-monetization
Support Web Monetization
2020-10-06 16:22:28 -04:00
Matt Baer
2768ea9414 Make Monetization optional
Some WriteFreely instances are completely private, and thus have no need for public-
oriented features like Web Monetization. Like federation, this gives admins control
over whether or not the feature is enabled for users.

Ref T773
2020-09-30 15:18:21 -04:00
Matt Baer
ec7b299fd3 Enable updating WM payment pointer via API and Customize page
Ref T773
2020-09-30 14:40:13 -04:00
Matt Baer
2908080b52 Automatically resize CSS editor
Closes T708
2020-09-24 15:08:08 -04:00