aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/user_test.go
Commit message (Collapse)AuthorAgeFilesLines
* User Settings: Ignore empty language codes & validate (#13755)65432020-12-041-2/+2
|
* Fix "data race" in testlogger (#9159)zeripath2019-11-261-5/+5
| | | | | | * Fix data race in testlogger * Update git_helper_for_declarative_test.go
* fix: add search to reserved usernames (#9063)Antoine GIRARD2019-11-181-0/+1
| | | | | | | | * fix: add search to reserved usernames * Update integrations/user_test.go Co-Authored-By: 6543 <24977596+6543@users.noreply.github.com>
* Test more reserved usernames (#8263)Sandro Santilli2019-09-241-1/+14
| | | | | | | | | | * Test more reserved usernames * Add more reserved usernames, sort them * Reserve "attachments" username (is a used route) * It's "avatars" being reserved, not "avatar"
* Use gitea forked macaron (#7933)Tamal Saha2019-08-231-1/+1
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* add .gpg url (match github behaviour) (#6610)Antoine GIRARD2019-04-141-0/+87
| | | | | | | | | | | | | | | | | | | | | | * add .gpg url (match github behaviour) * wildcard * test to export maximum data * working POC * add comment for old imported keys * cleaning * Update routers/user/profile.go Co-Authored-By: sapk <sapk@users.noreply.github.com> * add migration script * add integration tests
* Ensure valid git author names passed in signatures (#5774)zeripath2019-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | * Ensure valid git author names passed in signatures Fix #5772 - Git author names are not allowed to include `\n` `<` or `>` and must not be empty. Ensure that the name passed in a signature is valid. * Account for pathologically named external users LDAP and the like usernames are not checked in the same way that users who signup are. Therefore just ensure that user names are also git safe and if totally pathological - Set them to "user-$UID" * Add Tests and adjust test users Make our testcases a little more pathological so that we be sure that integration tests have a chance to spot these cases. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Added user language setting (#3875)kolaente2018-05-051-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added user language setting * Added translation string for setting * Fixed import order + typo * improved checking if the user has a language saved in the db * The current saved language is now set a default inside the dropdown * fmt * When a user signs in and doesn't have a language saved, the current browser language is saved * updated gitea-sdk * Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language # Conflicts: # models/migrations/migrations.go # models/migrations/v62.go * Made tests work again * trigger CI * trigger CI * fmt * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * When loggin in, only the language col gets updated instead of everything
* Fix missing translations when updating username. (#3564)bugreport02018-02-251-1/+1
| | | | | | | | * Fix missing translations when updating username. * Fix reserved username translated string test. * Fix 'username reserved' string test a bit more.
* Unit tests for routers/repo/issue_label (#3198)Ethan Koenig2017-12-151-1/+2
|
* Less verbose integration tests (#2123)Ethan Koenig2017-07-071-34/+14
| | | * Helper functions for intergration test boilerplate
* Check for valid renamed usernames (#2077)Ethan Koenig2017-07-011-0/+99
| | | | | | | | | | * Check for valid renamed usernames * Integration test * Test for username with space * Make name field required
* Display URLs in integration test logs (#1924)Ethan Koenig2017-06-091-2/+1
|
* fix #1643 and improve integration test (#1645)Lunny Xiao2017-04-301-0/+21