Commit Graph

127 Commits

Author SHA1 Message Date
Paul Rodwell 88b0e2b825
callbackURL has fix location, rather than being a parameter. 2021-11-04 10:12:59 +00:00
Paul Rodwell 7eba6ba411
replacing eval() with function using property accessors 2021-11-02 18:56:21 +00:00
3wc 001def2fea Custom callback and user profile URLs for OAuth2
For parsing `oauth2_UsernameField` values like
`profile.preferred_username`, this makes use of `eval()` which is
generally Evil™, but I'm assuming that anyone with permission to edit
config.json likely has permission to make changes to the fedwiki source
code already anyway, so it's fragile rather than increasing a security
attack surface. An alternative would be using  a small function to look
up properties of the `params` / `profile` objects using the same
dotted-path notation.
2021-10-23 16:56:08 +02:00
3wc f4f44afa35 Add passport-oauth2 to package.json 2021-10-22 00:29:07 +02:00
3wc 5f2164cb12 Add generic OAuth support 2021-10-18 21:13:18 +02:00
Paul Rodwell a369822b0f
Update package-lock 2021-05-18 15:37:16 +01:00
Paul Rodwell 41549779bd
0.4.9 2021-02-16 19:18:51 +00:00
Paul Rodwell dc9dc8f2a5
Update package-lock 2021-02-16 12:10:05 +00:00
Paul Rodwell 867896520c
Update package-lock 2020-08-01 16:08:27 +01:00
Paul Rodwell d62b844ae0
0.4.8 2020-07-16 14:21:27 +01:00
Paul Rodwell d5cf717dc7
update lodash 2020-07-16 14:21:14 +01:00
Paul Rodwell d4c8ce1288
0.4.7 2020-06-18 14:42:45 +01:00
Paul Rodwell 230ed1c707
set cookie `sameSite` 2020-06-18 14:35:17 +01:00
Paul Rodwell c85474aae7
update authors 2020-06-18 11:49:45 +01:00
Paul Rodwell b3ce41a299
Merge pull request #30 from ig3/claim-wiki-isOwner
Set isOwner true in claim_wiki
2020-06-18 11:41:59 +01:00
Ian Goodacre d7d7d59f47 Set isOwner true in claim_wiki
After successfully claiming a wiki the client didn't recognize the wiki
as owned until it was reloaded. With this change, the client recognizes
the wiki is owned immediately upon a successful claim.
2020-06-16 21:12:35 +00:00
Paul Rodwell 69c8df422d
0.4.6 2020-06-13 10:36:21 +01:00
Paul Rodwell 9604c8aba4
update package-lock 2020-06-13 10:36:07 +01:00
Paul Rodwell 3f7f983220
Merge pull request #29 from ig3/setup-isOwner
@ig3 Thank you for the fix.
2020-06-10 17:37:30 +01:00
Ian Goodacre 8de5683d06 Set isOwner in setup
After page reload, isOwner sometimes has wrong value. Setting it after
loading client-settings in setup fixes this.
2020-06-08 00:07:51 +00:00
Paul Rodwell a32148b27a
0.4.5 2020-03-03 11:24:06 +00:00
Paul Rodwell a16bb08b99
A fix for #27 (#28) 2020-03-03 11:22:52 +00:00
Paul Rodwell fb03250dfa
0.4.4 2020-02-14 19:56:16 +00:00
Paul Rodwell bc402acf55
add diagnostic route to aid debugging login issues (#26)
* add diagnostic route to aid debugging login issues
* don't require the user to be the wiki owner
2020-02-14 19:54:22 +00:00
Paul Rodwell ab7d21af42
0.4.3 2020-02-05 15:01:47 +00:00
Paul Rodwell 63960dba88
replace the now defunct google plus profile scope 2020-02-05 15:00:33 +00:00
Paul Rodwell 672b774c42
0.4.2 2020-01-13 10:43:37 +00:00
Paul Rodwell 9686e2066e
Merge branch 'maparent-update_passport' 2020-01-13 10:40:20 +00:00
Paul Rodwell cb880a4beb
adding missing repository and bugs to package.json, and update AUTHORS 2020-01-13 10:40:03 +00:00
Marc-Antoine Parent 227fa9a1ea Update because of shutdown of google-plus api 2020-01-11 21:23:14 -05:00
Paul Rodwell 0401a5ec4f 0.4.1 2019-07-13 10:27:59 +01:00
Paul Rodwell 107caf9636 Bump lodash from 4.17.11 to 4.17.14
and a few other dependencies....
2019-07-13 10:26:02 +01:00
Paul Rodwell 449d8821a4 0.4.0 2018-12-19 17:42:38 +00:00
Ward Cunningham ad3d75e431
Merge pull request #23 from fedwiki/paul90/google-resize
Resize dialog if google selected
2018-12-19 08:27:30 -08:00
Ward Cunningham d0a438cf5b
Merge pull request #22 from fedwiki/paul90/update-depends
update dependencies
2018-12-19 08:25:07 -08:00
Paul Rodwell bf15166ce4 make the window taller when google is selected 2018-12-18 20:30:14 +00:00
Paul Rodwell 34efe28fbb enable scrollbars 2018-12-18 20:29:33 +00:00
Paul Rodwell e5aa251971 update dependencies 2018-12-18 20:28:25 +00:00
Paul Rodwell 9e3d7d3646 0.3.1 2018-09-23 18:47:00 +01:00
Ward Cunningham cc410eb8c5
Merge pull request #19 from fedwiki/paul90/not-owner
initial look at indicating if user is not the owner
2018-09-23 10:41:06 -07:00
Paul Rodwell ed5061e9e5 add isOwner to the client settings so we can check if the user is the owner 2018-09-23 18:37:43 +01:00
Paul Rodwell 71cd00b86a lock only open if the user is the owner
lock remains closed, and rotated when logged in but not the wiki owner.
2018-09-21 17:45:59 +01:00
Paul Rodwell 7db9c761b5 0.3.0 2018-09-17 11:43:41 +01:00
Paul Rodwell 648be74cff
Merge pull request #18 from fedwiki/ward/cors-origin
handle forwarding of sessions
2018-09-17 11:00:17 +01:00
Ward Cunningham 081743b48f handle forwarding of sessions 2018-09-16 12:08:17 -07:00
Paul Rodwell d84a282bb3 initial look at indicating if user is not the owner
this does not fully work as the server does not update `isOwner` in the client when the user authenticates.
2018-09-16 09:01:38 +01:00
Paul Rodwell f7f34b2223 0.2.0 2018-09-10 15:51:39 +01:00
Paul Rodwell 9c0bbad80a
Merge pull request #17 from fedwiki/paul90/restrict
Paul90/restrict
2018-09-10 15:42:38 +01:00
Ward Cunningham ffb251d6f2 now 0.1.4-restrict 2018-09-09 14:24:03 -07:00
Ward Cunningham 949bb85ab0 allowed from config, redirect html req 2018-09-09 14:14:54 -07:00