Page MenuHomePhorge
Feed Advanced Search

Jun 2 2021

mollekopf committed rKdc4f3416d4df: ClientConnection -> AuthAttempt (authored by mollekopf).
ClientConnection -> AuthAttempt
Jun 2 2021, 1:17 PM
mollekopf committed rK289d92218bd8: Stuff (authored by mollekopf).
Stuff
Jun 2 2021, 1:17 PM
mollekopf committed rK98632632b2fe: Avoid the token indirection (authored by mollekopf).
Avoid the token indirection
Jun 2 2021, 1:17 PM
mollekopf committed rK25066324a4fa: Moved the 2fa handling over to client connection (authored by mollekopf).
Moved the 2fa handling over to client connection
Jun 2 2021, 1:17 PM
mollekopf committed rK2d6c1377a008: Companion app table and some other foo (authored by mollekopf).
Companion app table and some other foo
Jun 2 2021, 1:17 PM
mollekopf committed rK60ed6d2f1aa2: => ClientConnections (authored by mollekopf).
=> ClientConnections
Jun 2 2021, 1:17 PM
mollekopf committed rKc313816e825d: Clients controller fixups (authored by mollekopf).
Clients controller fixups
Jun 2 2021, 1:17 PM
mollekopf committed rKb84c699ca6c7: ConfirmController -> ClientsController (authored by mollekopf).
ConfirmController -> ClientsController
Jun 2 2021, 1:17 PM
mollekopf committed rK78008ec86cd6: NGINX Controller (authored by mollekopf).
NGINX Controller
Jun 2 2021, 1:17 PM
mollekopf committed rK062e6d6e5d2a: Use the new IMAP_URI (authored by mollekopf).
Use the new IMAP_URI
Jun 2 2021, 1:17 PM
mollekopf committed rKb52c96979153: Configure the nginx auth webhook (authored by mollekopf).
Configure the nginx auth webhook
Jun 2 2021, 1:17 PM
mollekopf committed rKdd63b77621ee: NGINX docker container (authored by mollekopf).
NGINX docker container
Jun 2 2021, 1:17 PM
mollekopf committed rK8ff7d90b043e: Enable 2fa on john@kolab.org (authored by mollekopf).
Enable 2fa on john@kolab.org
Jun 2 2021, 1:17 PM
mollekopf committed rK32f6a6a645f0: rcube_imap_generic.php fixes (authored by mollekopf).
rcube_imap_generic.php fixes
Jun 2 2021, 1:17 PM
mollekopf committed rKf307d0ba29b8: Fix kolab container setup (authored by mollekopf).
Fix kolab container setup
Jun 2 2021, 1:17 PM
mollekopf committed rKb2419ed5bf1d: Log requests during testing (authored by mollekopf).
Log requests during testing
Jun 2 2021, 1:17 PM
mollekopf committed rK3417ff239c75: Log sql query execution time (authored by mollekopf).
Log sql query execution time
Jun 2 2021, 1:17 PM
mollekopf committed rKfc74f7e86eff: Laravel Passport support (authored by mollekopf).
Laravel Passport support
Jun 2 2021, 1:17 PM
mollekopf added a comment to D2494: Laravel Passport support.

We still need to take care of:

Jun 2 2021, 10:24 AM
mollekopf updated the diff for D2494: Laravel Passport support.

Added a test for the password validation

Jun 2 2021, 10:16 AM

Jun 1 2021

mollekopf updated the diff for D2494: Laravel Passport support.

phpstan

Jun 1 2021, 5:20 PM
mollekopf updated the diff for D2494: Laravel Passport support.

Now taking the ldap password into account

Jun 1 2021, 4:21 PM
mollekopf accepted D2524: Introduce a unified mechanism for permissions checking in the UI.
Jun 1 2021, 11:58 AM
mollekopf accepted D2518: UI localization (partial).
Jun 1 2021, 11:56 AM
mollekopf accepted D2536: [Reseller] Wallet page.
Jun 1 2021, 11:54 AM

May 31 2021

mollekopf committed rEIb054d20e3239: Prepare 0.4.4 (authored by mollekopf).
Prepare 0.4.4
May 31 2021, 3:59 PM

May 27 2021

mollekopf added a comment to D2566: Log sql query execution time.

On the other hand, maybe %dms format would be better for query time.

May 27 2021, 4:57 PM
mollekopf committed rKc0d53e595379: rcube_imap_generic.php fixes (authored by mollekopf).
rcube_imap_generic.php fixes
May 27 2021, 4:56 PM
mollekopf closed D2410: rcube_imap_generic.php fixes.
May 27 2021, 4:56 PM
mollekopf added a comment to D2494: Laravel Passport support.

To sum up the current state:

  1. All tests pass!
  2. Tokens refresh request is fast now, but /auth/login is still 0.3-0.4 sec. I didn't investigate how much of that is passport.
May 27 2021, 9:48 AM

May 26 2021

mollekopf added reviewers for D2566: Log sql query execution time: machniak, Restricted Project.
May 26 2021, 7:23 PM
mollekopf requested review of D2566: Log sql query execution time.
May 26 2021, 7:22 PM
mollekopf updated the diff for D2494: Laravel Passport support.
  • phpstan
  • Addressed slow token issuing by customizing the PassportServiceProvider
May 26 2021, 7:22 PM
mollekopf added a comment to D2494: Laravel Passport support.

We're not the first to encounter the crypto slowness:

May 26 2021, 6:44 PM
mollekopf added a comment to D2494: Laravel Passport support.

One culprit is certainly Crypto::decryptWithPassword, which takes ~150ms.

May 26 2021, 6:09 PM
mollekopf added a comment to D2494: Laravel Passport support.
  • The bulk of the request is spent in League\OAuth2\Server\AuthorizationServer::respondToAccessTokenRequest: 0.4621s out of 0.4741s total
    • League\OAuth2\Server\Grant\RefreshTokenGrant::respondToAccessTokenRequest: takes up ~300ms out of that
    • League\OAuth2\Server\ResponseTypes\BearerTokenResponse::generateHttpResponse: the remaining ~150ms
May 26 2021, 5:56 PM
mollekopf added a comment to D2494: Laravel Passport support.

There clearly seems to be room for improvement from an overall request execution time of 0.3450s, with < 0.1s used by the sql queries.

May 26 2021, 5:25 PM
mollekopf committed rKbfca2a38339b: Cleanup (authored by mollekopf).
Cleanup
May 26 2021, 2:01 PM
mollekopf committed rK86f4f515d16c: Tested AuthAttempts controller (authored by mollekopf).
Tested AuthAttempts controller
May 26 2021, 2:01 PM
mollekopf committed rK9bb7e65a9056: ClientConnection -> AuthAttempt (authored by mollekopf).
ClientConnection -> AuthAttempt
May 26 2021, 2:01 PM
mollekopf committed rK9611bf1fb8a3: Stuff (authored by mollekopf).
Stuff
May 26 2021, 2:01 PM
mollekopf committed rK3fca01e8fff2: Avoid the token indirection (authored by mollekopf).
Avoid the token indirection
May 26 2021, 2:01 PM
mollekopf committed rK5d5384c6e35e: Moved the 2fa handling over to client connection (authored by mollekopf).
Moved the 2fa handling over to client connection
May 26 2021, 2:01 PM
mollekopf committed rKad14e4bdc211: Companion app table and some other foo (authored by mollekopf).
Companion app table and some other foo
May 26 2021, 2:01 PM
mollekopf committed rK135f80d2ead8: => ClientConnections (authored by mollekopf).
=> ClientConnections
May 26 2021, 2:01 PM
mollekopf committed rK8a4fdc0abcc1: Clients controller fixups (authored by mollekopf).
Clients controller fixups
May 26 2021, 2:01 PM
mollekopf committed rKd02352182a0e: ConfirmController -> ClientsController (authored by mollekopf).
ConfirmController -> ClientsController
May 26 2021, 2:01 PM
mollekopf committed rK9cea687079bc: NGINX Controller (authored by mollekopf).
NGINX Controller
May 26 2021, 2:01 PM
mollekopf committed rKf4b493283198: Use the new IMAP_URI (authored by mollekopf).
Use the new IMAP_URI
May 26 2021, 2:01 PM
mollekopf committed rKf26cbb612f24: Configure the nginx auth webhook (authored by mollekopf).
Configure the nginx auth webhook
May 26 2021, 2:00 PM
mollekopf committed rK4d8da85a9bd2: NGINX docker container (authored by mollekopf).
NGINX docker container
May 26 2021, 2:00 PM
mollekopf committed rKe7e743439940: Enable 2fa on john@kolab.org (authored by mollekopf).
Enable 2fa on john@kolab.org
May 26 2021, 2:00 PM
mollekopf committed rKd66521941b4d: rcube_imap_generic.php fixes (authored by mollekopf).
rcube_imap_generic.php fixes
May 26 2021, 2:00 PM
mollekopf committed rK03db574fbdb9: Fix kolab container setup (authored by mollekopf).
Fix kolab container setup
May 26 2021, 2:00 PM
mollekopf committed rKaae8725448c7: Laravel Passport support (authored by mollekopf).
Laravel Passport support
May 26 2021, 2:00 PM
mollekopf committed rK860f33e75500: Added cache to .gitignore (authored by mollekopf).
Added cache to .gitignore
May 26 2021, 2:00 PM
mollekopf committed rKd32082ffddb3: Temporary passport views (authored by mollekopf).
Temporary passport views
May 26 2021, 2:00 PM
mollekopf added a comment to D2494: Laravel Passport support.

From phpunit tests/Browser/Admin I now have only testUserInfo failing, because the user is somehow not imapReady (no idea why), but that seems unrelated.

May 26 2021, 1:47 PM
mollekopf added a comment to D2494: Laravel Passport support.
  • I also turned the expires_in comparison into a fuzzy comparison. Because of passport internals it's possible that some time has already passed and the expires_in response is off by a second.
May 26 2021, 1:36 PM
mollekopf updated the diff for D2494: Laravel Passport support.
  • Lowered timeout
  • Removed throttling on token route
May 26 2021, 1:33 PM

May 25 2021

mollekopf committed rLK483b10193962: Fixed memory leaks in tests (authored by sicherha).
Fixed memory leaks in tests
May 25 2021, 9:05 AM
mollekopf committed rLK4bda8a1cb3be: Fix dangling pointers (authored by sicherha).
Fix dangling pointers
May 25 2021, 9:05 AM
mollekopf closed D2548: Fix memory bugs.
May 25 2021, 9:04 AM

May 24 2021

mollekopf accepted D2548: Fix memory bugs.

Looks reasonable, thanks for the patch.

May 24 2021, 6:41 PM

May 20 2021

mollekopf updated the diff for D2494: Laravel Passport support.

Ignore exceptions

May 20 2021, 2:01 PM
mollekopf abandoned D2488: Implode doesn't work for DateTime objects.

Included in the passport diff

May 20 2021, 11:47 AM
mollekopf updated the diff for D2494: Laravel Passport support.

Included the sql logging patch

May 20 2021, 11:46 AM

May 19 2021

mollekopf added a comment to T1197: Log username and source IP address.

Implemented in guam 91f1f2e5c7b2fb2d5c32ac463f37cac3b1ff078d

May 19 2021, 4:06 PM · Sprint 201634, Sprint 201633, Sprint 201630, Sprint 201628, Sprint 201627, Sprint 201626, Sprint 201625, Sprint 201624, Sprint 201623, Sprint 201622, Sprint 201621, Sprint 201620, Sprint 201619, Sprint 201618, Sprint 201617, Sprint 201616, Sprint 201615, Guam
mollekopf committed rG2619a1b5a16b: Use eimap:is_tagged_response (authored by mollekopf).
Use eimap:is_tagged_response
May 19 2021, 3:53 PM
mollekopf committed rG8bbc0ed96975: Fixed variable name (authored by mollekopf).
Fixed variable name
May 19 2021, 3:50 PM
mollekopf committed rG0336d6988374: Some extra defaults for app.config (authored by mollekopf).
Some extra defaults for app.config
May 19 2021, 3:50 PM
mollekopf committed rG26602ae29503: Added the lager common test backend to the test config (authored by mollekopf).
Added the lager common test backend to the test config
May 19 2021, 3:50 PM
mollekopf committed rGf2496b897190: Document rule callbacks (authored by mollekopf).
Document rule callbacks
May 19 2021, 3:50 PM
mollekopf committed rG91f1f2e5c7b2: Audit rule (authored by mollekopf).
Audit rule
May 19 2021, 3:50 PM
mollekopf updated the diff for D2494: Laravel Passport support.

Addressed comments

May 19 2021, 3:14 PM
mollekopf added a comment to D2494: Laravel Passport support.

I can't reproduce the test failures on my workstation. I'll try running the test on a separate system, to see if I can reproduce there.

May 19 2021, 3:13 PM

May 18 2021

mollekopf claimed T1197: Log username and source IP address.
May 18 2021, 8:59 AM · Sprint 201634, Sprint 201633, Sprint 201630, Sprint 201628, Sprint 201627, Sprint 201626, Sprint 201625, Sprint 201624, Sprint 201623, Sprint 201622, Sprint 201621, Sprint 201620, Sprint 201619, Sprint 201618, Sprint 201617, Sprint 201616, Sprint 201615, Guam
mollekopf committed rEIeb43d69f2af8: LITERAL+ support in literal size parsing (authored by mollekopf).
LITERAL+ support in literal size parsing
May 18 2021, 8:52 AM

May 12 2021

mollekopf added a comment to D2494: Laravel Passport support.
  1. See inline comments
May 12 2021, 6:42 PM
mollekopf updated the diff for D2494: Laravel Passport support.

Got most tests to pass

May 12 2021, 6:41 PM
mollekopf added inline comments to D2494: Laravel Passport support.
May 12 2021, 9:23 AM
mollekopf updated the diff for D2494: Laravel Passport support.
  • Custom authentication hook for passport (so we can insert 2fa)
  • Added 2fa to user verification
  • Rely on second factor authentication in user model (instead of auth controller)
  • Disabled unnecessary passport routes
  • Fixed password-reset and signup to use the plain-text password for oauth
May 12 2021, 9:23 AM

May 6 2021

mollekopf requested changes to D2500: [User] Distribution lists UI.

The same Groups/Distlist mix as the other diff, looks ok otherwise.

May 6 2021, 4:16 PM
mollekopf accepted D2512: Display existing entitlement cost instead of the SKU cost where appropriate.
May 6 2021, 3:58 PM
mollekopf accepted D2395: Localization with vue-i18n.
May 6 2021, 3:44 PM
mollekopf requested changes to D2506: [Admin] Distribution lists UI.
May 6 2021, 3:36 PM
mollekopf added a comment to D2506: [Admin] Distribution lists UI.

I thought we agreed on calling this Distlists instead of Groups (to leave "groups" as a more generic term for another feature), other than that this looks ok to me.

May 6 2021, 3:35 PM

May 4 2021

mollekopf committed rK13935c4d725b: Encode mailbox names (authored by mollekopf).
Encode mailbox names
May 4 2021, 12:04 PM

May 3 2021

mollekopf added reviewers for D2410: rcube_imap_generic.php fixes: machniak, Restricted Project.

I ran into those with the pst import code.

May 3 2021, 9:58 AM

Apr 28 2021

mollekopf committed rK955cf3215c1c: Laravel Passport support (authored by mollekopf).
Laravel Passport support
Apr 28 2021, 12:45 PM
mollekopf accepted D2428: Signup Invitations.
Apr 28 2021, 12:38 PM
mollekopf requested changes to D2428: Signup Invitations.

Just the final fix, you can then ship it.

Apr 28 2021, 11:25 AM
mollekopf updated the diff for D2494: Laravel Passport support.

Correctly ignore the default migrations

Apr 28 2021, 11:21 AM
mollekopf updated the diff for D2494: Laravel Passport support.

Adjusted migrations (merged, foreign key constraint on user id pk, matching types)

Apr 28 2021, 11:13 AM
mollekopf committed rK838f5d12a269: Clients controller fixups (authored by mollekopf).
Clients controller fixups
Apr 28 2021, 9:42 AM
mollekopf committed rKb5dd05931461: ConfirmController -> ClientsController (authored by mollekopf).
ConfirmController -> ClientsController
Apr 28 2021, 9:42 AM
mollekopf committed rKd5347b9b740d: NGINX Controller (authored by mollekopf).
NGINX Controller
Apr 28 2021, 9:42 AM
mollekopf committed rKdd479f727cfd: Use the new IMAP_URI (authored by mollekopf).
Use the new IMAP_URI
Apr 28 2021, 9:42 AM
mollekopf committed rK7542baa25e14: NGINX docker container (authored by mollekopf).
NGINX docker container
Apr 28 2021, 9:42 AM
mollekopf committed rK8b167b08b05f: Configure the nginx auth webhook (authored by mollekopf).
Configure the nginx auth webhook
Apr 28 2021, 9:42 AM