Commit Graph

58 Commits

Author SHA1 Message Date
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 2903c86875 Remove prose.bundle.js from repo
This file is compiled from other sources, and thus shouldn't be
included in the repo.
2021-04-30 09:41:18 -04:00
Matt Baer 14a8961457 Show correct extracted title on loaded posts page
Ref T401
2021-04-28 17:19:22 -04:00
Matt Baer e4164cbf67 Move admin user deletion confirmation to modal
Ref T319
2021-04-22 10:08:05 -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 484d2736ce Update repo URL to writefreely org
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Matt Baer 636c9b35c0 Use WriteFreely ProseMirror packages 2021-03-19 17:00:21 -04:00
Matt Baer c2c6b69044 Update prose.bundle.js 2021-03-03 17:05:05 -05:00
v 583693ed8d Updated prod prosemirror bundle. 2021-03-03 20:45:55 +01:00
v 19beabe2d1 Fixed Safari regex lookahead / lookbehind issue. 2021-03-03 20:29:23 +01:00
Viktor Vaczi 8c0978419f using a branch from github with the markdown hashtag serializing fix 2021-02-13 13:27:15 +01:00
Viktor Vaczi 6049213661 added prettierrc 2021-01-08 01:41:36 +01:00
Viktor Vaczi 9a55d38e4b working newlines, link shortcut 2021-01-08 00:33:35 +01:00
Viktor Vaczi 676b673c94 Correct line ends 2021-01-05 15:06:19 +01:00
Viktor Vaczi b1cea637cb Removed unnecessary schema nodes, custom markdown parser/serializer, publish keyboard shortcut, readmore node 2021-01-04 17:19:24 +01:00
Matt Baer a96d4474ef Add auto-save to WYSIWYG editor 2020-09-09 17:46:47 -04:00
Matt Baer 61daca2b0d Merge branch 'develop' into wysiwyg 2020-09-09 09:53:38 -04:00
Matt Baer 455e50c9a8 Use branded OAuth buttons
This includes the platform mark with each login button and uses
brand colors. It also uses the same style on the Account Settings
page. And it wraps buttons on login / signup pages.
2020-08-19 15:14:29 -04:00
Matt Baer b2382b5422
Merge pull request #293 from gytisrepecka/oauth-gitea
Added Gitea OAuth login and account management.
2020-08-13 10:41:29 -04:00
Matt Baer fd3a6399b3
Merge pull request #355 from writeas/accessible-dropdowns
Add menu hover delay
2020-08-12 13:51:08 -04:00
Matt Baer 5f52c23a65
Merge pull request #181 from writeas/mathjax-in-binaries
Mathjax in binaries
2020-08-11 09:47:16 -04:00
Matt Baer 09e70e07f8 Support loading more draft posts
This adds a "load more" button to the bottom of the draft posts page,
which calls /api/me/posts with new parameters and the current page
number. It then populates the page accordingly.

Ref T696 - load anon. posts with ?anonymous=1&page=1
Ref T401 - completes UI for post loading
2020-07-30 16:46:01 -04:00
Matt Baer fee44e7c8d Add menu hover delay on user pages + editor 2020-07-30 11:26:29 -04:00
Matt Baer 9624c4db00 Show warning in editor when local draft is out of date
Fixes #41
2020-06-11 11:45:12 -04:00
gytisrepecka c798a44f69
Added Gitea OAuth login and account management. 2020-04-03 13:26:59 +03:00
Matt Baer 491a1148ee Restyle OAuth account management section
- Break up linked / to-link sections
- Add logos for all services
- Lay out buttons horizontally
- Tweak the copy

Ref T713
2020-03-24 10:41:53 -04:00
Matt Baer f76bfebfde Add dedicated Title field to WYSIWYG editor
This takes styling from the Classic Editor on Write.as.

It adds all application code for auto-saving the title, publishing it
with the post body, and including it in the word count.
2020-03-11 13:28:02 -04:00
Matt Baer d277e283d5 Move ProseMirror styles to less dir
This keeps it consistent with all our other CSS.
2020-03-11 11:55:55 -04:00
Rob Loranger b3a541ab09
markdown preserved between edit/load/save 2020-03-11 07:59:22 -07:00
Rob Loranger ee712bbfaa
WIP: implement WYSIWYG editor w/ prosemirror 2020-03-11 07:18:03 -07:00
Matt Baer 4d5f58a7e6 Fix date-based post header links
Posts without an explicit title render the date as the post header in
lists of posts (like on the blog index and tag pages). This updates
localdate.js to properly adjust those dates, too.
2020-01-29 06:42:32 -05:00
Matt Baer 3e902461f1 Merge branch 'develop' into T670-local-time 2020-01-29 06:24:46 -05:00
Matt Baer 77e0126808 Move and restyle OAuth login links
- Move them above local login form
- Restyle as side-by-side buttons

Ref T712
2020-01-05 11:00:58 -05:00
Rob Loranger caca8f0ae2
show timestamps in local date/locale
this adds a helper script to rewrite all time elements with a proper
datetime attribute into the users locale via the browser
navigator.language.

collection, collection-post and chorus-collection-post templates now
include this script
2019-10-03 09:47:08 -07:00
Rob Loranger 4d150fe831
Revert "add all mathjax components"
This reverts commit 25145296b3.
2019-09-12 10:19:08 -07:00
Rob Loranger 25145296b3
add all mathjax components
with only the single script, there were still many requests to a CDN.
this fixes that and speed up the page load a bit as well.
2019-09-12 10:12:57 -07:00
Rob Loranger 84d7ac35d3
fix issue with fonts and not rendering 2019-09-11 14:04:13 -07:00
Rob Loranger aad4768aed
include mathjax script
this includes a copy of mathjax@3.0.0/es5/tex-mml-chtml.js
2019-09-11 11:18:29 -07:00
Rob Loranger 38c1bf9cab
remove mathjax submodule 2019-09-11 10:57:46 -07:00
Matt Baer effab9b6a1 Move MathJax to git submodule 2019-05-14 07:50:37 -04:00
Matt Baer e80f99a72e Fix draft post metadata
Previously it referenced an image on write.as and had the incorrect
og:url property. This also fixes the canonical URL on single-user
instances. Closes #91
2019-04-12 14:56:46 -04:00
Matt Baer 5a0a3ce451
Merge pull request #78 from mrvdb/apple-icons
Add touch icons
2019-03-24 17:42:56 -05:00
Matt Baer be0df11653 Use WF "w" for touch icons
(instead of the Write.as "w")
2019-03-24 17:38:46 -05:00
Marcel van der Boom c8ea346d16 Add touch icons
These were missing.
2019-02-19 11:49:33 +01:00
Matt Baer c2a7f19ef0 Add numeric avatars 2019-01-07 15:40:37 -05:00
Matt Baer 3fab9f6439 Add missing CSS for highlightjs 2018-12-10 16:22:11 -05:00
Matt Baer 9e466a6d23 Locally host MathJax
This closes T551
2018-12-07 16:50:29 -05:00
Matt Baer 860e8c0120 Locally host highlightjs
Part of T551
2018-12-07 16:37:14 -05:00