-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish 'done' from 'configuring' in 2FA #35555
Commits on Apr 19, 2023
-
Proposed change to in-build docker-compose.yml and Dockerfile. The cu…
…rrent implementation uses php 7.4, which is no longer compatible with the required PHP version of the server. I upped this to PHP 8.1 List of changes: - Upped PHP Version to 8.1 - Added Apache Webserver so the Container works "out of the box" after docker-compose up -d - Mounting whole project as volume to /var/www/html in docker-compose.yml (and set WORKDIR to /var/www/html) Tested in a Docker for Windows environment. Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 944187b - Browse repository at this point
Copy the full SHA 944187bView commit details -
Minor improvements for devcontainer
* Autostart apache2 * Apply occ installation on start * Autostart Xdebug on request * Add DevContainer Xdebug profile Signed-off-by: GitHub <noreply@github.com> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0046cd8 - Browse repository at this point
Copy the full SHA 0046cd8View commit details -
Use ubuntu jammy and cleanup Dockerfile
Signed-off-by: GitHub <noreply@github.com> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for df0ba7d - Browse repository at this point
Copy the full SHA df0ba7dView commit details -
Minor DevContainer adjustments
* Add gnupg2 to be able to sign commits * Make sure /var/www/html always belongs to www-data * Add Git-History plugin * Introduce dedicated entrypoint script * Store Postgres database data in volume to be persistent * Cleaner check if NC is already installed in setup.sh * Add composer to DevContainer Signed-off-by: GitHub <noreply@github.com> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 483a775 - Browse repository at this point
Copy the full SHA 483a775View commit details -
Dedicated DevContainer user + NVM
* Use dedicated DevContainer user to run Apache (ensure file permissions) * Install NVM for node Signed-off-by: GitHub <noreply@github.com> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6677e22 - Browse repository at this point
Copy the full SHA 6677e22View commit details -
Configure line ending to let shell scripts work in Windows ENV
Signed-off-by: GitHub <noreply@github.com> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f3046ed - Browse repository at this point
Copy the full SHA f3046edView commit details -
Move git safe.directory to earlier stage
Signed-off-by: GitHub <noreply@github.com> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ec4f3ff - Browse repository at this point
Copy the full SHA ec4f3ffView commit details -
Add .vscode to expected files list
Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b4372f6 - Browse repository at this point
Copy the full SHA b4372f6View commit details -
Enbale apcu in devcontainer CLI
Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b35db66 - Browse repository at this point
Copy the full SHA b35db66View commit details -
Move launch.json to .devcontainer and copy on start
Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0867c66 - Browse repository at this point
Copy the full SHA 0867c66View commit details -
Distinguish 'done' from 'configuring' in 2FA
When there is a token in the session for which the user is still [setting up 2FA](https://raw.githubusercontent.com/nextcloud/twofactor_totp/master/screenshots/settings.png), setting `self::SESSION_UID_DONE` ("two_factor_auth_passed") is a misnomer. AFAICT, everything works fine if you set nothing into the session and just return 'false' from this if-statement, but in case there is some code (now or in the future) that needs to know if the user is configuring 2FA, to play it safe I would suggest storing `self::SESSION_UID_CONFIGURING` ("two_factor_auth_configuring") into the session. Signed-off-by: Michiel de Jong <michiel@unhosted.org> Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d9c66ba - Browse repository at this point
Copy the full SHA d9c66baView commit details -
Signed-off-by: MohammadReza vahedi <34796044+mrvahedi68@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9bad67e - Browse repository at this point
Copy the full SHA 9bad67eView commit details