Commit Graph

162 Commits

Author SHA1 Message Date
Andrew M McCall a352a3518a add f.created to join, add Created to Scan 2024-02-14 19:48:47 -05:00
Matt Baer e4e059cb13 Fix Collection property serialization on API
Use standard string instead of sql.NullString for `style_sheet`, `script`, and `signature`.

Addresses #820
2023-11-07 10:54:16 -05:00
Matt Baer 5204b3b752
Merge pull request #782 from writefreely/verify-collection-max-lengths
Prevent 500 errors on too-long collection title or description
2023-10-23 12:50:06 -04:00
Brennan Lujan 87b3585c44 Fix use of NOW() when getting tagged posts 2023-10-06 20:20:40 -07: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 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 e2fde518ca Fix GetTemporaryOneTimeAccessToken query for SQLite 2023-09-25 18:18:01 -04:00
Matt Baer c6323dba8c Clean up SQLite to-do 2023-09-25 15:38:57 -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 06968e7341 Merge branch 'develop' into letters 2023-09-25 13:59:46 -04:00
Matt Baer 334d499fb3
Merge pull request #508 from writefreely/lang-posts-filter
Support filtering blog posts by language

Closes T805
2023-09-22 12:53:20 -04:00
Matt Baer 264bef03b1 Support rel=me verification on blogs
This allows setting a URL, and then renders a <link> element
in the head of the blog. It requires a database migration.

Ref T744
2023-09-21 19:04:34 -04:00
Matt Baer e0c165ff1e Ensure SetCollectionAttribute also updates attributes
Previously, it would only INSERT.
2023-09-21 18:55:48 -04:00
Matt Baer 3dc515c249 Merge branch 'develop' into lang-posts-filter 2023-09-21 16:38:48 -04:00
Matt Baer 54eb2db14d Fix tagged posts falsely showing Older link 2023-07-08 00:31:02 -04:00
Matt Baer 118eb732f4 Merge branch 'develop' into letters 2023-01-08 11:49:57 -05:00
Matt Baer 29c898867a
Merge pull request #483 from writefreely/log-gone-user-out
Log user out when authenticated as deleted user
2022-11-14 23:45:33 -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 d08f067e9c Change copyright notices to Musing Studio LLC
A Bunch Tell is now Musing Studio.
2022-11-10 23:49:16 -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 d1e6daee16 Fix monetization_pointer upsert query for SQLite
Fixes #495
2021-12-29 18:23:31 -05:00
Matt Baer 43ca80f3eb
Merge pull request #503 from mnlg/hotfix/fix-date-format
Fix date format in anonymous posts
2021-12-29 18:05:36 -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 e91748c0bc Return correct count of currently-published lang posts
Previously, we'd include scheduled posts, too.

Ref T805
2021-09-16 15:53:07 -04:00
Matt Baer 414d5b0a1c Add pagination routes on lang post filter
Ref T805
2021-09-16 14:23:35 -04:00
Matt Baer f4977c7a34 Support filtering blog posts by language
Ref T805
2021-09-13 18:36:36 -04:00
Matt Baer 3270470b68 Ignore post `created` date when empty on publish 2021-08-30 17:48:30 -04:00
mnlg ae7e42e24e Fix date format in anonymous posts 2021-08-13 18:43:17 +02:00
Matt Baer 2288ccf2a2 Merge branch 'develop' into letters 2021-08-10 17:47:23 -04:00
mnlg 5be1938a8a Fix Gopher collections query 2021-08-05 16:53:20 +02:00
Matt Baer 6b336e22aa Log user out when authenticated as deleted user
Now when we check for the user at certain times and find that the user
doesn't exist in the database, we log them out and send them back to
the home page.
2021-06-27 17:57:07 -04:00
Matt Baer 1bdcf7096a Fix "Collection.hostName is empty!" log on Stats page
Fixes #468
2021-06-25 12:39:59 -04:00
Matt Baer 2ea235f0c4 Support email subscriptions (base)
This adds beginning email subscription functionality, with only MySQL support,
Mailgun support, and incomplete support for private instances. It includes
database changes, so run:

    writefreely db migrate

to use this feature.

Ref T856
2021-06-21 18:24:40 -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 85fb2a952b Support setting `description` on user registration 2021-06-07 14:53:22 -04:00
Matt Baer 2938bba15a Support updating collection only with monetization_pointer 2021-05-25 16:58:09 -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 61974fadc0 Merge branch 'develop' into remove-nerds-dep 2021-04-19 16:18:33 -04:00
Matt Baer 27b43ac2f1 Merge branch 'develop' into draft-list-paging 2021-04-07 15:58:25 -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 64f1d71524 Remove writeas/nerds/store dependency 2021-03-30 12:49:12 -04:00
Matt Baer 2d38e8b65e Create coll post with the provided slug, if exists
Closes T811
2021-02-22 14:25:18 -05:00
Matt Baer 13a3a68d54 Validate and trim spaces on WM pointer
Ref T773
2020-09-30 14:42:11 -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 13eb51913e Support Web Monetization via backend attribute
This supports a new `monetization_pointer` collection attribute.
When present, we include the `monetization` meta tag on all
collection pages.
2020-08-19 09:28:44 -04:00
prichier ab285644a0 Fix: signup methods mutually exclusive 2020-08-16 20:42:55 +02:00
Pascal Richier d3f1e40010
Merge branch 'develop' into feature/generic-oauth 2020-08-16 19:58:01 +02:00