0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
No description
Find a file
Ferdinand Thiessen 7c2354ddb3
fix: Move login via email logic to local backend
Backends can decide which names they accept for login,
e.g. with user_ldap you can configure arbitrary login fields.
This was a hacky approach to allow login via email,
so instead this is now only handled by the local user backend.

This also fixes some other related problems:
Other logic relys on `backend::get()` which was not handling email,
so e.g. password policy could not block users logged in via email
if they use out-dated passwords.
Similar for other integrations, as the user backend was not consistent with
what is a login name and what not.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 21:35:20 +01:00
.devcontainer
.github chore(deps): bump the github-actions group across 1 directory with 7 updates 2025-01-24 18:56:13 +00:00
.idea
.reuse ci(reuse): Fix translation reuse mapping 2025-01-24 11:15:27 +01:00
.tx chore(profile): move profile app from core to apps 2024-11-14 10:25:02 +01:00
3rdparty@5fd1c8f3b8 chore(3rdparty): Bump symfony/process from 6.4.12 to 6.4.15 2025-01-27 11:36:35 +01:00
__mocks__ test: Fix test mocks for nextcloud-dialogs 2024-11-15 02:31:56 +01:00
__tests__
apps Merge pull request #50293 from nextcloud/fix/harden-admin-settings 2025-01-27 18:55:36 +01:00
build Merge pull request #50221 from nextcloud/add-integration-tests-for-moving-a-file-from-and-to-a-shared-folder 2025-01-27 17:03:04 +01:00
config fix: Hide "Create templates folder" option if templates are disabled in configuration 2025-01-27 16:08:53 +01:00
contribute
core fix(unifiedsearch): Simplify and correct thumbnail styles 2025-01-27 18:17:53 +01:00
cypress fix(theming): Ensure to only send valid URLs to backend 2025-01-27 14:20:15 +01:00
dist Merge pull request #50293 from nextcloud/fix/harden-admin-settings 2025-01-27 18:55:36 +01:00
lib fix: Move login via email logic to local backend 2025-01-27 21:35:20 +01:00
LICENSES
ocs
ocs-provider
resources fix(security): Update code signing revocation list 2025-01-24 02:27:34 +00:00
tests fix: Move login via email logic to local backend 2025-01-27 21:35:20 +01:00
themes
vendor-bin chore(deps): Update openapi-extractor to v1.3.0 2025-01-06 14:30:40 +01:00
.editorconfig
.eslintignore
.eslintrc.js
.git-blame-ignore-revs
.gitattributes
.gitignore chore(profile): move profile app from core to apps 2024-11-14 10:25:02 +01:00
.gitmodules
.htaccess feat(login): add origin check at login 2024-12-05 09:51:53 +01:00
.jshintrc
.mailmap
.npmignore
.php-cs-fixer.dist.php
.pre-commit-config.yaml
.scrutinizer.yml
.tag
.user.ini
AUTHORS fix(files): updateAll method 2025-01-07 20:16:06 +01:00
autotest-checkers.sh
autotest-external.sh
autotest.sh
babel.config.js
CHANGELOG.md
CODE_OF_CONDUCT.md
codecov.yml
composer.json build(psalm): Configure unstable namespace 2024-11-12 11:46:13 +01:00
composer.lock
console.php
COPYING
COPYING-README
cron.php
custom.d.ts
cypress.config.ts chore: enable cypress video recording in debug mode 2025-01-03 10:41:30 +01:00
cypress.d.ts
DESIGN.md
index.html
index.php
Makefile
occ
package-lock.json fix(deps): Fix npm audit 2025-01-26 02:46:38 +00:00
package.json chore(deps-dev): bump puppeteer from 23.10.4 to 24.1.1 2025-01-25 18:11:09 +00:00
psalm-ncu.xml build(psalm): Configure unstable namespace 2024-11-12 11:46:13 +01:00
psalm-ocp.xml build(psalm): Configure unstable namespace 2024-11-12 11:46:13 +01:00
psalm.xml
public.php
README.md
remote.php
robots.txt
SECURITY.md
status.php
stylelint.config.js refactor(styles): Adjust code style in SCSS sources to match our stylelint config 2024-11-19 09:42:13 +01:00
tsconfig.json
version.php chore: Bump Nextcloud version 2025-01-23 08:45:01 +01:00
vitest.config.ts
webpack.common.js
webpack.config.js
webpack.modules.js feat: Use inline password confirmation in external storage settings 2024-11-28 11:01:54 +01:00

Nextcloud Server ☁

REUSE status Scrutinizer Code Quality codecov CII Best Practices Design

A safe home for all your data.

Why is this so awesome? 🤩

  • 📁 Access your Data You can store your files, contacts, calendars, and more on a server of your choosing.
  • 🔄 Sync your Data You keep your files, contacts, calendars, and more synchronized amongst your devices.
  • 🙌 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with hundreds of Apps ...like Calendar, Contacts, Mail, Video Chat and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentication.

Do you want to learn more about how you can use Nextcloud to access, share, and protect your files, calendars, contacts, communication & more at home and in your organization? Learn about all our Features.

Get your Nextcloud 🚚

Enterprise? Public Sector or Education user? You may want to have a look into Nextcloud Enterprise provided by Nextcloud GmbH.

Get in touch 💬

You can also get support for Nextcloud!

Join the team 👪

There are many ways to contribute, of which development is only one! Find out how to get involved, including as a translator, designer, tester, helping others, and much more! 😍

Development setup 👩‍💻

  1. 🚀 Set up your local development environment
  2. 🐛 Pick a good first issue
  3. 👩‍🔧 Create a branch and make your changes. Remember to sign off your commits using git commit -sm "Your commit message"
  4. ⬆ Create a pull request and @mention the people from the issue to review
  5. 👍 Fix things that come up during a review
  6. 🎉 Wait for it to get merged!

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps that are included by default in regular releases such as First run wizard or Activity are missing in master and have to be installed manually by cloning them into the apps subfolder.

Otherwise, git checkouts can be handled the same as release archives, by using the stable* branches. Note they should never be used on production systems.

Tools we use 🛠

Helpful bots at GitHub 🤖

  • Comment on a pull request with /update-3rdparty to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.

Ignore code style updates in git blame

git config blame.ignoreRevsFile .git-blame-ignore-revs

Contribution guidelines 📜

All contributions to this repository from June 16, 2016, and onward are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds the following line to the AUTHORS file if they made substantial changes to the code:

- <your name> <your email address>

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information on how to contribute: https://nextcloud.com/contribute/