1
0
mirror of https://github.com/writeas/writefreely synced 2024-12-08 06:31:47 +01:00
Commit Graph

1656 Commits

Author SHA1 Message Date
Matt Baer
71fd25870d
Merge pull request #793 from writefreely/fix-fedi-followers
Add missing methods for showing fediverse followers
2023-10-23 12:48:32 -04:00
Matt Baer
dd797c8145 Add missing methods for showing fediverse followers
Fixes #791
2023-10-13 16:45:12 -04:00
Matt Baer
3870749e5e
Merge pull request #785 from blujan/develop
Fix use of NOW() when getting tagged posts
2023-10-11 10:55:51 -04:00
Brennan Lujan
87b3585c44 Fix use of NOW() when getting tagged posts 2023-10-06 20:20:40 -07:00
Matt Baer
bf213cd0b0 Fix drafts never showing, even when not part of private/protected blog 2023-10-06 12:40:46 -04:00
Matt Baer
815500ab78 Merge branch 'develop' into protect-drafts 2023-10-06 12:19:37 -04:00
Matt Baer
4aad0338bf
Merge pull request #779 from writefreely/fix-ld-json-response-2
Correctly respond to application/ld+json requests, part 2
2023-10-03 12:06:10 -04:00
Matt Baer
711cb387a5
Merge pull request #778 from writefreely/better-indexing
Add index to improve post retrieval speed on large instances
2023-10-03 12:04:20 -04:00
Matt Baer
e3323d11c8
Merge pull request #777 from writefreely/reset-password
Support resetting password via email

Closes T508
2023-10-03 12:03:08 -04:00
Matt Baer
076c4ae2f2 Set blog title maxlength on Customize page 2023-10-03 11:57:42 -04:00
Matt Baer
530a36fc53 Prevent 500 errors on too-long collection title or description
This truncates long titles and descriptions to the maximum column length, so
we don't get errors back from MySQL.

Fixes #600
2023-10-03 11:55:52 -04:00
Matt Baer
8207a25fa9 Tweak style of "Forgot" link on login page 2023-10-03 11:39:41 -04:00
Matt Baer
7b84dafea7 Correctly return on /reset submission when email isn't configured 2023-10-03 11:28:24 -04:00
Matt Baer
ed60aea39e Catch and log emailPasswordReset errors 2023-10-03 11:25:05 -04:00
Matt Baer
8f02449ee8 Show friendly message on /reset when password-based login is disabled 2023-10-03 11:19:47 -04:00
Matt Baer
1e37f60d50 Hide "Reset?" link on login page when email disabled 2023-10-03 11:16:11 -04:00
Matt Baer
c18987705c Display friendly message on /reset if email is disabled 2023-10-03 11:15:33 -04:00
Matt Baer
7db4b699e2
Merge pull request #776 from writefreely/passwordless-login
Plumbing: login via emailed link

Ref T731
2023-10-03 11:02:30 -04:00
Matt Baer
26ba79ff02
Merge pull request #775 from writefreely/subscriber-insights
Add Subscribers page

Closes T826
2023-10-03 10:59:21 -04:00
Matt Baer
b232e7efd7 Fix indentation in subscribers.tmpl 2023-10-03 10:56:23 -04:00
Matt Baer
64dcb56793
Merge pull request #478 from writefreely/letters
Support email subscriptions
2023-10-03 10:50:34 -04:00
Matt Baer
273267343a Ensure Updated property can be omitted
Now, the web-core pkg uses a pointer instead of a var, so we don't send
a zero time.Time value out via ActivityPub.
2023-10-02 21:35:23 -04:00
Matt Baer
27e82f0409
Merge pull request #774 from writefreely/fix-no-fonts
Fix fonts not getting applied on first load
2023-10-02 19:43:50 -04:00
Matt Baer
167971771e Send updated parameter with Update activities
Per the Mastodon docs, this ensures the activity correctly updates posts there.
https://docs.joinmastodon.org/spec/activitypub/#supported-activities-for-statuses
2023-10-02 19:33:03 -04:00
Matt Baer
2275a288b9 Correctly respond to application/ld+json requests, part 2
This finishes the work started in #766, ensuring that requests to
canonical URLs of blogs and posts (not just at their API endpoints)
respond correctly to `application/ld+json;...` requests.

Fully addresses issue #564
2023-09-26 14:46:35 -04:00
Matt Baer
f96f8268f0 Add index to improve post retrieval speed on large instances
On an instance with millions of posts across all users, a single blog with
thousands of posts on it can take a long time to render. This adds an index
to the `posts` table to speed up the basic GetPosts query.

Run: `writefreely db migrate`

Closes #741
2023-09-26 14:36:34 -04:00
Matt Baer
74f3ded250
Merge pull request #545 from clarfonthey/editorconfig
Add editorconfig
2023-09-26 11:52:43 -04:00
Matt Baer
c1609cdb90
Merge pull request #658 from jsoref/spelling
Spelling
2023-09-26 11:50:19 -04:00
Matt Baer
e96e657430 Fix copyright notices with wrong company name 2023-09-25 19:07:06 -04:00
Matt Baer
f404f7b928 Support resetting password via email
This adds a self-serve password reset page. Users can enter their username
and receive an email with a link that will let them create a new password.
If they've never set a password, it will send them a one-time login link
(building on #776) that will then take them to their Account Settings page.
If they don't have an email associated with their account, they'll be
instructed to contact the admin, so they can manually reset the password.

Includes changes to the stylesheet and database, so run:

    make ui
    writefreely db migrate

Closes T508
2023-09-25 18:48:14 -04:00
Matt Baer
7dda53146d Add function for logging in via emailed link
This doesn't add any user-facing behavior, but provides the basic functionality
to generate a one-time use token and email it to a user, so they can log in with
a link instead of a password.
2023-09-25 18:21:20 -04:00
Matt Baer
e2fde518ca Fix GetTemporaryOneTimeAccessToken query for SQLite 2023-09-25 18:18:01 -04:00
Matt Baer
c75507ca8f Add Subscribers navigation for single-user instances
Ref T826
2023-09-25 17:04:08 -04:00
Matt Baer
82e7dcd3f3 Add Subscribers page
- Shows all fediverse followers and email subscribers
- Shows number of email subscribers on Stats page
- Links to Subscribers page from Stats page

Requires running `make ui` to regenerate stylesheet.

Ref T826
2023-09-25 16:55:57 -04:00
Matt Baer
361c887e2c Revert "use font-display:optional to optimize web font loading"
This reverts commit 059f0d4c54.
2023-09-25 15:58:55 -04:00
Matt Baer
13ca890709
Merge pull request #768 from writefreely/dependabot/go_modules/github.com/writeas/web-core-1.6.0
Bump github.com/writeas/web-core from 1.5.0 to 1.6.0
2023-09-25 15:52:35 -04:00
Matt Baer
c6323dba8c Clean up SQLite to-do 2023-09-25 15:38:57 -04:00
Matt Baer
dcc6f036c6 Clean up commented-out code 2023-09-25 15:31:31 -04:00
Matt Baer
d7d44cb4e1 Catch subscription confirmation email errors 2023-09-25 15:31:10 -04:00
Matt Baer
2a496bd000 Fix subscriber created query for SQLite 2023-09-25 15:30:39 -04:00
Matt Baer
15047b7288 Fix jobs query in SQLite 2023-09-25 15:30:05 -04:00
Matt Baer
d1afa44a2e Use standard SetCollectionAttribute method for saving email sub settings 2023-09-25 15:29:23 -04:00
Matt Baer
ac40b2f733 Fix publishjobs id column in SQLite
Previously, didn't auto-increment or populate
2023-09-25 14:51:28 -04:00
Matt Baer
e2b2ba4577 Rename Letters config to Email in collection.tmpl 2023-09-25 14:28:37 -04:00
Matt Baer
cc75be1eb5 Rename Letters [letters] config section to Email [email] 2023-09-25 14:26:41 -04:00
Matt Baer
221d0d7dbb Make letters (v13) migration compatible with SQLite 2023-09-25 14:25:24 -04:00
Matt Baer
cc9705447d Re-add letters migration 2023-09-25 14:00:18 -04:00
Matt Baer
06968e7341 Merge branch 'develop' into letters 2023-09-25 13:59:46 -04:00
Matt Baer
62f9b2948e Exclude local static files from release build 2023-09-22 17:10:42 -04:00
Matt Baer
a8afa18ab2 Bump version to 0.14 2023-09-22 13:12:47 -04:00