Matt Baer
ede68d86a7
Merge pull request #324 from writeas/fix-unsynced-edits
...
Show warning in editor when local draft is out of date
2020-07-22 15:46:38 -04:00
Matt Baer
504a2a42aa
Merge pull request #329 from writeas/add-footer
...
Add footer and header element
2020-07-07 10:11:32 -04:00
Shlee
b98903cff8
Update dependabot.yml
2020-07-02 20:28:40 +08:00
Shlee
beef2b15a7
Create dependabot.yml
2020-07-02 20:24:26 +08:00
Neil Moore
94bcb91220
Add CORS header ('Access-Control-Allow-Origin') to 'AllReader'
...
Allows all API endpoints using 'AllReader' to be queryable by any
origin.
2020-06-23 20:33:30 -04:00
Matt Baer
a25664bb97
Support post signatures
...
This enables users to add a signature to all blog posts, and update it from a single location.
Requires database migration with: writefreely db migrate
Closes T582
2020-06-23 16:24:45 -04:00
CJ Eller
591bb0866c
Add footer and header element
2020-06-22 20:33:52 +00:00
prichier
f6aa99e591
Add disable_password_auth option
2020-06-14 00:27:25 +02: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
Matt Baer
507acc7e1c
Support AP-style mentions of centralized social media accounts
...
This allows users to mention users on the following non-ActivityPub
social media sites:
- twitter.com
- medium.com
It also adds missing error handling in federatePost().
2020-06-08 13:50:43 -04:00
Matt Baer
cceea03076
Ignore "collation mix" errors in GetCollectionRedirect()
2020-06-08 13:37:02 -04:00
prichier
724ab34006
Fix: option name from allow_logout to allow_disconnect
2020-06-06 23:52:26 +02:00
prichier
fe7ff38bd8
Manage generic Oauth buttons on Account Settings
...
Add generic Oauth allow_logout option
2020-05-31 04:09:14 +02:00
Keturah Dola-Borg
cd01a4459d
Fix login page variable name
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:29:40 +02:00
Keturah Dola-Borg
405a2602ce
Fix endpoint URI generation
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:39 +02:00
Keturah Dola-Borg
92d822b5c6
Remove redundant variable
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:35 +02:00
Keturah Dola-Borg
211d441090
Fix capitalisation of OAuth in display name
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:27 +02:00
Keturah Dola-Borg
7b71d455a8
Apply go fmt
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:21 +02:00
Keturah Dola-Borg
630ac1f7c0
Typo fix
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:16 +02:00
Keturah Dola-Borg
badaffcd5c
Add generic oauth to routes
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:08 +02:00
Keturah Dola-Borg
cfd2165442
Add HTML for generic oauth login button
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:19:58 +02:00
Keturah Dola-Borg
75ca5cd417
Add generic oauth module
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-30 23:59:02 +02:00
Keturah Dola-Borg
ee1ca48800
Add generic oauth client
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-30 23:58:57 +02:00
Keturah Dola-Borg
89f7946cb0
Add config/ini structures for generic oauth
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-30 23:58:51 +02:00
Keturah Dola-Borg
6174987c6a
Adds generic oAuth bool & name string to login view.
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-30 23:58:42 +02:00
Matt Baer
5c94d23466
Merge pull request #312 from writeas/fix-no-to
...
Only log "No to!" when debugging
2020-05-29 05:53:24 -04:00
Matt Baer
2aa154d85c
Merge pull request #295 from writeas/optimize-drafts-fetch
...
Optimize Drafts retrieval
2020-05-29 05:52:58 -04:00
RJ722
53cb5c3837
core.less: Use a bigger font size for h2
...
The font-size for h2 was set to be 1.17em, which is also the font
size defined for h3 by user agent stylesheet. This lead to both
h2 and h3 being rendered in same size. Use 1.2em for h2.
Closes : #217
2020-05-25 07:01:34 +05:30
Matt Baer
9d854c17c1
Only log "No to!" when debugging
...
Fixes #311
2020-05-15 13:48:20 -04:00
Matt Baer
037fc40fb3
Merge pull request #307 from writeas/fix-numeric-alpha-hashtags
...
Support hashtags with numbers + letters
2020-05-07 11:33:30 -04:00
Matt Baer
5fe1dd1731
Add SQLite query for v9 migration
2020-05-06 14:08:48 -04:00
Matt Baer
b9c467558c
Return transaction Begin error in v9 migration
2020-05-06 14:08:25 -04:00
Matt Baer
a0e517c224
Merge branch 'develop' into optimize-drafts-fetch
2020-05-01 15:00:51 -04:00
Matt Baer
dc7b5df90e
Update saturday library to support number+letter hashtags
...
Previously, a hashtag like #100DaysToOffload wouldn't automatically turn
into a clickable link. This fixes that by updating to the latest version
of the satuday library.
2020-04-28 10:50:51 -04:00
gytisrepecka
8675eb0f95
Merge develop branch into oauth-gitea and resolve pages/login.tmpl conflict.
2020-04-23 14:24:17 +03:00
Matt Baer
99d86a7489
Merge pull request #303 from writeas/fix-oauth-account-creation
...
Respect registration config on OAuth signup flow
2020-04-22 13:49:52 -04:00
Matt Baer
8e16bac12c
Update README
...
Includes a better description, features, install and license sections, and a screenshot.
2020-04-22 13:43:29 -04:00
Matt Baer
7420039770
Merge branch 'develop' of github.com:writeas/writefreely into develop
2020-04-22 12:47:00 -04:00
Matt Baer
f15acf3880
Reduce vertical margin around OAuth buttons
2020-04-22 09:27:33 -04:00
Matt Baer
308b1a7282
Remove "login" verbiage on OAuth signup page
...
Change it to reflect that this is the final step in the signup flow.
2020-04-22 09:27:19 -04:00
Matt Baer
fd97539f85
Mention unset password on failed login
...
(when it applies)
2020-04-22 09:26:42 -04:00
Matt Baer
cf3d5588c2
Move unique OAuth username creation to client-side
...
Now, on OAuth signup form, we create a unique username with random appended string only if there's a conflict.
Previously, this was always happening during the Slack OAuth flow. This has the benefit of preventing username collisions for all OAuth providers.
2020-04-22 09:17:25 -04:00
Matt Baer
6fc166174b
Merge pull request #299 from writeas/fix-friendica-federation
...
Fix federation with Friendica
2020-04-21 14:39:48 -04:00
Matt Baer
0c6d3e45e4
Update Go modules
2020-04-21 13:04:19 -04:00
Matt Baer
b97038e696
Better describe usage stats in setup process
2020-04-21 13:01:39 -04:00
Matt Baer
37ccf69d81
Increase App Settings checkbox and select sizes
2020-04-21 13:01:08 -04:00
Matt Baer
0127e38ed0
Reorder App Settings page and improve descriptions
2020-04-21 13:00:36 -04:00
Matt Baer
7b7df5535e
Run go fmt on oauth_test.go
2020-04-21 07:31:23 -04:00
Matt Baer
5400f416c0
Reduce db calls on normal invite-based signup
...
This removes an unnecessary database call after creating a user, and documents `db.CreateUser()` to make it clear that extra calls are unnecessary.
2020-04-20 18:21:01 -04:00
Matt Baer
ca4a576c31
Support OAuth registration with invite code
...
This adds any OAuth login buttons to the invite signup page, stores the invite code for the flow duration, and associates the new user with it once successfully registered.
It enables invite-only instances with OAuth-based registration.
2020-04-20 18:18:23 -04:00