Matt Baer
e5103d555f
Use ini pkg on GitHub
...
This fixes "unknown revision v1.66.4" error
3 years ago
Matt Baer
cab7fc8647
Update ini pkg to v1.66.4
3 years ago
Matt Baer
face603a0e
Move to go-gopher library on GitHub
3 years ago
Matt Baer
9a45030911
Change to code.as/wf/go-gopher library
...
This fixes build issues we're having due to the SSL certificate
on git.mills.io. It also updates to the latest version of the
go-gopher library.
3 years ago
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
3 years ago
Darius Kazemi
dd88083b2a
Prevent dropping of external files onto editor
...
We now detect whether a file is being dropped by a user (by checking `event.dataTransfer.files.length`) and prevent the remaining drop behavior if this is the case. Otherwise, drop happens like normal (so a user can still drop text into the editor, or even an image that has been uploaded already via normal means and rendered in the editor).
3 years ago
Matt Baer
fd44bc5707
Fix whitespace
3 years ago
Matt Baer
9ee83ae885
Support custom instance-level stylesheet
...
Will render if a file exists at: static/local/custom.css
Ref T563
3 years ago
Matt Baer
e92c33aae4
Merge pull request #515 from gytisrepecka/fix-gitea-oauth-ext-user-id
...
#514 - Fix login with Gitea OAuth: external user ID not recorded
3 years ago
Matt Baer
0d554ce180
Merge pull request #525 from writefreely/fix-monetization-sqlite-query
...
Fix monetization_pointer upsert query for SQLite
3 years ago
Matt Baer
a0e936ee1b
Support Markdown and rel=me links in blog descriptions
...
Ref T874 T744
3 years ago
Matt Baer
46bb8e65a1
Add security policy
...
Closes #522
3 years ago
Matt Baer
d1e6daee16
Fix monetization_pointer upsert query for SQLite
...
Fixes #495
3 years ago
Matt Baer
43ca80f3eb
Merge pull request #503 from mnlg/hotfix/fix-date-format
...
Fix date format in anonymous posts
3 years ago
Matt Baer
1530bf37ef
Merge pull request #506 from writefreely/minor-fixes
...
Miscellaneous fixes
3 years ago
Matt Baer
401c8c1f4c
Merge pull request #520 from writefreely/slug-improvements
...
Elide Markdown when generating slug
3 years ago
Matt Baer
69ab0d34e0
Elide Markdown when generating slug
...
This makes sure e.g. link URLs and image alt text don't get included
in the slug.
Ref T329
3 years ago
gytisrepecka
97a5121924
#514 - Fix login with Gitea OAuth problems: external user ID not properly recorded.
3 years ago
Matt Baer
129f428bfa
Remove unnecessary "upgrade" collection template
3 years ago
Matt Baer
8c1785b904
Merge pull request #505 from lt3Dev/pr/relative-urls
...
Templates: use relative URLs for static assets
3 years ago
Matt Baer
a2f9642238
Use underscores for em text in Rich editor
...
This fixes an issue where mixing strong and em text caused the text
to not render correctly as a post (e.g. *This is **bold text**.*
would fail).
3 years ago
Matt Baer
5b3d25b5cc
Don't use dot import for github.com/gorilla/feeds
3 years ago
Matt Baer
6e5f7e87d2
Merge pull request #501 from mnlg/develop
...
Fix Gopher collections query
3 years ago
Matt Baer
6ad1f41cf4
Prevent crash on empty title
...
This title, typed directly in the plain editor, would previously crash
the app / show the user a "server error":
# #
3 years ago
Matt Baer
3270470b68
Ignore post `created` date when empty on publish
3 years ago
Matt Baer
2a0298cd46
Make metadata dropdown design consistent
3 years ago
Matt Baer
a122e4e98a
Merge pull request #502 from egon0/develop
...
fix Dockerfile, nodejs-npm was renamed in alpine to npm
3 years ago
Matt Baer
44bfd4573e
Support keyboard navigation on pad publish target dropdown
3 years ago
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.
3 years ago
mnlg
ae7e42e24e
Fix date format in anonymous posts
3 years ago
Micha Gläß-Stöcker
a58180543e
fix Dockerfile, nodejs-npm was renamed in alpine to npm
3 years ago
mnlg
5be1938a8a
Fix Gopher collections query
3 years ago
Matt Baer
c42439886c
Merge pull request #497 from writefreely/fix-go-gopher-import
...
Update go-gopher import path to new location
3 years ago
Matt Baer
adb4fdc5fe
Update go-gopher import path to new location
...
Fixes #496
3 years ago
Matt Baer
b7f732b915
Merge pull request #485 from writefreely/hotfix-0.13.1
...
0.13.1 hotfix
3 years ago
Matt Baer
940d220bf3
Bump version to 0.13.1
3 years ago
Matt Baer
48075fc183
Merge pull request #474 from writefreely/fix-gen-oauth-empty-user-id
...
Error when generic OAuth provider doesn't return a user ID
3 years ago
Matt Baer
577bdf14aa
Merge pull request #484 from writefreely/fix-classic-backslashes
...
Fix trailing backslash on lists in Classic editor
3 years ago
Matt Baer
672fa10b94
Merge pull request #477 from writefreely/fix-sqlite-reader-lock
...
Fix SQLite database lock on Reader
3 years ago
Matt Baer
de5e91cb71
Fix trailing backslash on lists in Classic editor
...
Previously, when editing a post with an unordered list in it via the
Classic editor, backslashes (\) would get added to the end of each list
item. This fixes that.
Closes #480
3 years ago
Matt Baer
6291f4f155
Merge pull request #479 from writefreely/fix-stats-no-host-log
...
Fix "Collection.hostName is empty!" log on Stats page
3 years ago
Matt Baer
273c9cf418
Merge pull request #471 from writefreely/fix-title-lists
...
Don't render title as list item
3 years ago
Matt Baer
fbb3000e4d
Merge pull request #476 from writefreely/strip-image-alt-meta
...
Don't include img alt text in post Summary()
3 years ago
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.
3 years ago
Matt Baer
65bc73e527
Merge pull request #475 from writefreely/fix-feed-redirect
...
Remove additional slash in /feed/ redirect
3 years ago
Matt Baer
d37ab544e8
Prevent out of bounds error on title with only whitespace
3 years ago
Matt Baer
1bdcf7096a
Fix "Collection.hostName is empty!" log on Stats page
...
Fixes #468
3 years ago
Matt Baer
ed771380fb
Fix SQLite database lock on Reader
...
Fetching posts for the Reader involves an additional query on each row,
which previously ran into our connection limit to the database and caused
it to lock up. This increases the connection limit from 1 to 2, to allow
this.
This is meant to be a quick, safe fix, but there could always be a better
solution.
Fixes #467
3 years ago
Matt Baer
720a8c1975
Don't include img alt text in post Summary()
...
Fixes #306
3 years ago
Matt Baer
f933b36170
Prevent out of bounds error when post has no title
3 years ago