dependabot-preview[bot]
a4832a65cc
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-20 09:34:50 +01:00
Christoph Wurst
55a14a2c2c
Add and enforc static analysis checks
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-23 15:09:26 +01:00
Christoph Wurst
b565c1076a
Apply and enforce the Nextcloud coding standard for php
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-23 12:44:51 +01:00
Roeland Jago Douma
149151c9bb
Move to real initial state API
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 10:46:43 +02:00
Roeland Jago Douma
cf17859a70
Move to IEventDispatcher
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-04 15:24:48 +02:00
Roeland Jago Douma
df34aae355
Move to fancy new events
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-08-28 09:20:54 +02:00
Christoph Wurst
74a5b6e5ec
Add possibility to set up at login
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-08-26 20:27:36 +02:00
Christoph Wurst
0e149a0b46
Make provider display name translatable
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-02 13:40:09 +02:00
Roeland Jago Douma
6d4064c559
Use QBMapper
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-14 19:34:12 +01:00
Christoph Wurst
bcc191e4ed
Make provider deactivatable by admin
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-12-03 11:18:53 +01:00
Joas Schilling
8c8c715dfd
Remove cast to object
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-21 11:21:47 +01:00
Christoph Wurst
52e8e9b91c
Fix resetting an array reference
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-11-20 12:26:26 +01:00
Roeland Jago Douma
a0ba70badf
Move over to DB Migrations
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-22 16:28:41 +02:00
Christoph Wurst
0bb0a8e61b
Migrate to Vue
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-22 16:22:00 +02:00
Christoph Wurst
d2342f0b85
Migrate personal settings to new API
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-02 18:09:33 +02:00
Christoph Wurst
5a813aa8eb
Adapt to server changes
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-01 23:20:57 +02:00
Christoph Wurst
3afdfe856c
Fix authentication/login registration id missing property
...
As of af674fec3f
, the passed
registrations array is stripped and only u2f properties are returned. Hence, the `id` prop gets removed and
we have to look it up in the original data instead.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-01 15:58:56 +02:00
Christoph Wurst
0fac0c262d
Fix wrong provider registry updates.
...
This is a multi-device provider, so adding a device does
not automatically mean that the provider gets enabled (there
might be an existing device), nor that removing a device disables
the provider (there might be remaining devices).
This adds an additional check to count the number of devices
*after* the state change to only react when the first device
has been added and when the last one is removed.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-08-02 12:14:34 +02:00
Christoph Wurst
24d2da94e4
Fix state propagation to the server registry
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-31 08:35:56 +02:00
Christoph Wurst
9259ca5622
Refactor app to use the event system to act on state changes
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-31 08:05:20 +02:00
Christoph Wurst
a275ac7f9f
Add missing scalar type hint
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-27 08:48:39 +02:00
Christoph Wurst
2c8b6f6ff3
Add strict types and fix tests
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-13 12:59:56 +01:00
Christoph Wurst
acc7a691a6
Add php7 primitive type hints
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-13 12:54:43 +01:00
Christoph Wurst
ede5d0d882
List U2F settings in security section
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-11-27 17:33:54 +01:00
Christoph Wurst
d9225e4727
Fix activity type
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-05-16 10:12:51 +02:00
Christoph Wurst
16f760d49e
Add possibility to add multiple U2F devices
...
Users should be able to add as many devices as they like, hence
the interface should allow to list added devices and have a button
to add new ones. To identify devices later, users can give names
to devices.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-04-10 08:14:52 +02:00
Christoph Wurst
97376a3dbd
try to structure the code better and require password confirmation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-01-23 10:25:45 +01:00
Christoph Wurst
f7fb7700a3
add some unit tests
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-12-19 17:46:32 +01:00
Christoph Wurst
3321e0dc84
Merge pull request #17 from nextcloud/activities
...
publish activities when a device is added/removed
2016-12-19 14:55:48 +01:00
Christoph Wurst
233c56cfe9
make Joas happy by adding some comments :-)
2016-12-19 14:41:50 +01:00
Christoph Wurst
4f86bce4b6
replace IDb with IDBConnection
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-12-19 11:53:00 +01:00
Christoph Wurst
69a4ca70af
publish activities when a device is added/removed
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-12-13 14:37:08 +01:00
Christoph Wurst
d05eb76b2c
Use valid PSR4 namespace
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-11-07 14:21:00 +01:00
Christoph Wurst
617d159185
u2f logo added
2016-08-26 23:13:23 +02:00
Christoph Wurst
243465006a
use raw protocol + host to build appId instead of base url
2016-08-26 21:39:47 +02:00
Christoph Wurst
022e8ea063
allow users to enable/disable U2F via their personal settings
2016-08-26 15:26:23 +02:00
Christoph Wurst
b2ecea2c82
store u2f registration in the database
2016-08-26 14:45:53 +02:00
Christoph Wurst
77ae70eac9
fail gracefully if U2F verification errors occur
2016-08-26 12:49:28 +02:00
Christoph Wurst
df1a61a1a8
implement U2F challenge verification
2016-08-26 11:51:53 +02:00
Christoph Wurst
c9d5910c72
refactor code into U2FManger
2016-08-26 11:21:03 +02:00
Christoph Wurst
f0181c5868
quick and dirty U2F registration
2016-08-26 10:58:32 +02:00