Page MenuHomePhorge
Feed Search

Jun 2 2021

mollekopf committed rKb84c699ca6c7: ConfirmController -> ClientsController.
Jun 2 2021, 11:17 AM
mollekopf committed rK78008ec86cd6: NGINX Controller.
Jun 2 2021, 11:17 AM
mollekopf committed rK062e6d6e5d2a: Use the new IMAP_URI.
Jun 2 2021, 11:17 AM
mollekopf committed rKb52c96979153: Configure the nginx auth webhook.
Jun 2 2021, 11:17 AM
mollekopf committed rKdd63b77621ee: NGINX docker container.
Jun 2 2021, 11:17 AM
mollekopf committed rK8ff7d90b043e: Enable 2fa on john@kolab.org.
Jun 2 2021, 11:17 AM
mollekopf committed rK32f6a6a645f0: rcube_imap_generic.php fixes.
Jun 2 2021, 11:17 AM
mollekopf committed rKf307d0ba29b8: Fix kolab container setup.
Jun 2 2021, 11:17 AM
mollekopf committed rKb2419ed5bf1d: Log requests during testing.
Jun 2 2021, 11:17 AM
mollekopf committed rK3417ff239c75: Log sql query execution time.
Jun 2 2021, 11:17 AM
mollekopf committed rKfc74f7e86eff: Laravel Passport support.
Jun 2 2021, 11:17 AM
mollekopf added a comment to D2494: Laravel Passport support.

We still need to take care of:

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

Added a test for the password validation

Jun 2 2021, 8:16 AM

Jun 1 2021

mollekopf updated the diff for D2494: Laravel Passport support.

phpstan

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

Now taking the ldap password into account

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

May 31 2021

mollekopf committed rEIb054d20e3239: Prepare 0.4.4.
May 31 2021, 1: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, 2:57 PM
mollekopf committed rKc0d53e595379: rcube_imap_generic.php fixes.
May 27 2021, 2:56 PM
mollekopf closed D2410: rcube_imap_generic.php fixes.
May 27 2021, 2: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, 7:48 AM

May 26 2021

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

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

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

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

May 26 2021, 4: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, 3: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, 3:25 PM
mollekopf committed rKbfca2a38339b: Cleanup.
May 26 2021, 12:01 PM
mollekopf committed rK86f4f515d16c: Tested AuthAttempts controller.
May 26 2021, 12:01 PM
mollekopf committed rK9bb7e65a9056: ClientConnection -> AuthAttempt.
May 26 2021, 12:01 PM
mollekopf committed rK9611bf1fb8a3: Stuff.
May 26 2021, 12:01 PM
mollekopf committed rK3fca01e8fff2: Avoid the token indirection.
May 26 2021, 12:01 PM
mollekopf committed rK5d5384c6e35e: Moved the 2fa handling over to client connection.
May 26 2021, 12:01 PM
mollekopf committed rKad14e4bdc211: Companion app table and some other foo.
May 26 2021, 12:01 PM
mollekopf committed rK135f80d2ead8: => ClientConnections.
May 26 2021, 12:01 PM
mollekopf committed rK8a4fdc0abcc1: Clients controller fixups.
May 26 2021, 12:01 PM
mollekopf committed rKd02352182a0e: ConfirmController -> ClientsController.
May 26 2021, 12:01 PM
mollekopf committed rK9cea687079bc: NGINX Controller.
May 26 2021, 12:01 PM
mollekopf committed rKf4b493283198: Use the new IMAP_URI.
May 26 2021, 12:01 PM
mollekopf committed rKf26cbb612f24: Configure the nginx auth webhook.
May 26 2021, 12:00 PM
mollekopf committed rK4d8da85a9bd2: NGINX docker container.
May 26 2021, 12:00 PM
mollekopf committed rKe7e743439940: Enable 2fa on john@kolab.org.
May 26 2021, 12:00 PM
mollekopf committed rKd66521941b4d: rcube_imap_generic.php fixes.
May 26 2021, 12:00 PM
mollekopf committed rK03db574fbdb9: Fix kolab container setup.
May 26 2021, 12:00 PM
mollekopf committed rKaae8725448c7: Laravel Passport support.
May 26 2021, 12:00 PM
mollekopf committed rK860f33e75500: Added cache to .gitignore.
May 26 2021, 12:00 PM
mollekopf committed rKd32082ffddb3: Temporary passport views.
May 26 2021, 12: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, 11:47 AM
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, 11:36 AM
mollekopf updated the diff for D2494: Laravel Passport support.
  • Lowered timeout
  • Removed throttling on token route
May 26 2021, 11:33 AM

May 25 2021

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

May 24 2021

mollekopf accepted D2548: Fix memory bugs.

Looks reasonable, thanks for the patch.

May 24 2021, 4:41 PM

May 20 2021

mollekopf updated the diff for D2494: Laravel Passport support.

Ignore exceptions

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

Included in the passport diff

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

Included the sql logging patch

May 20 2021, 9:46 AM

May 19 2021

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

Implemented in guam 91f1f2e5c7b2fb2d5c32ac463f37cac3b1ff078d

May 19 2021, 2: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.
May 19 2021, 1:53 PM
mollekopf committed rG8bbc0ed96975: Fixed variable name.
May 19 2021, 1:50 PM
mollekopf committed rG0336d6988374: Some extra defaults for app.config.
May 19 2021, 1:50 PM
mollekopf committed rG26602ae29503: Added the lager common test backend to the test config.
May 19 2021, 1:50 PM
mollekopf committed rGf2496b897190: Document rule callbacks.
May 19 2021, 1:50 PM
mollekopf committed rG91f1f2e5c7b2: Audit rule.
May 19 2021, 1:50 PM
mollekopf updated the diff for D2494: Laravel Passport support.

Addressed comments

May 19 2021, 1: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, 1:13 PM

May 18 2021

mollekopf claimed T1197: Log username and source IP address.
May 18 2021, 6: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.
May 18 2021, 6:52 AM

May 12 2021

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

Got most tests to pass

May 12 2021, 4:41 PM
mollekopf added inline comments to D2494: Laravel Passport support.
May 12 2021, 7: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, 7: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, 2:16 PM
mollekopf accepted D2512: Display existing entitlement cost instead of the SKU cost where appropriate.
May 6 2021, 1:58 PM
mollekopf accepted D2395: Localization with vue-i18n.
May 6 2021, 1:44 PM
mollekopf requested changes to D2506: [Admin] Distribution lists UI.
May 6 2021, 1: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, 1:35 PM

May 4 2021

mollekopf committed rK13935c4d725b: Encode mailbox names.
May 4 2021, 10:04 AM

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, 7:58 AM

Apr 28 2021

mollekopf committed rK955cf3215c1c: Laravel Passport support.
Apr 28 2021, 10:45 AM
mollekopf accepted D2428: Signup Invitations.
Apr 28 2021, 10:38 AM
mollekopf requested changes to D2428: Signup Invitations.

Just the final fix, you can then ship it.

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

Correctly ignore the default migrations

Apr 28 2021, 9: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, 9:13 AM
mollekopf committed rK838f5d12a269: Clients controller fixups.
Apr 28 2021, 7:42 AM
mollekopf committed rKb5dd05931461: ConfirmController -> ClientsController.
Apr 28 2021, 7:42 AM
mollekopf committed rKd5347b9b740d: NGINX Controller.
Apr 28 2021, 7:42 AM
mollekopf committed rKdd479f727cfd: Use the new IMAP_URI.
Apr 28 2021, 7:42 AM
mollekopf committed rK7542baa25e14: NGINX docker container.
Apr 28 2021, 7:42 AM
mollekopf committed rK8b167b08b05f: Configure the nginx auth webhook.
Apr 28 2021, 7:42 AM
mollekopf committed rKf495810b6a78: Enable 2fa on john@kolab.org.
Apr 28 2021, 7:42 AM
mollekopf committed rK2ba0e26d80b7: rcube_imap_generic.php fixes.
Apr 28 2021, 7:42 AM
mollekopf committed rK19c4dbf1f6a9: Fix kolab container setup.
Apr 28 2021, 7:42 AM
mollekopf committed rKedbf36211e18: Laravel Passport support.
Apr 28 2021, 7:39 AM
mollekopf committed rK2a4676f7ff86: Temporary passport views.
Apr 28 2021, 7:39 AM
mollekopf committed rKd97e234f71a8: Implode doesn't work for DateTime objects.
Apr 28 2021, 7:39 AM

Apr 27 2021

mollekopf added inline comments to D2494: Laravel Passport support.
Apr 27 2021, 8:39 AM