summaryrefslogtreecommitdiffstats
path: root/app/models/principal.rb
Commit message (Expand)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-271-1/+1
* <=> operator should return nil when invoked with an incomparable object (#387...Go MAEDA2023-06-291-3/+5
* Fix RuboCop offense Performance/StringInclude (#37247).Go MAEDA2023-02-061-1/+1
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
* Switch to zeitwerk autoloader (#29914, #32938).Marius Balteanu2021-11-171-3/+0
* Explicitly specify escape character using an ESCAPE on SQLite (#35073).Marius Balteanu2021-10-091-4/+4
* Use sanitize_sql_like in like scopes (#35073).Marius Balteanu2021-10-031-2/+2
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
* remove spaces inside {} of app/models/principal.rbToshi MARUYAMA2020-11-181-4/+4
* use "do end" instead of {} at ActiveRecord scope lambda of app/models/princip...Toshi MARUYAMA2020-11-101-9/+8
* use "do end" instead of {} at app/models/principal.rbToshi MARUYAMA2020-11-071-2/+2
* Replace Hash#merge! with Hash#[]= (#34160).Go MAEDA2020-10-241-1/+1
* Use scope assignable_watchers (#4511).Go MAEDA2020-04-251-0/+3
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
* cleanup: rubocop: fix Layout/BlockAlignment in app/models/principal.rbToshi MARUYAMA2019-11-091-5/+6
* cleanup: rubocop: fix Layout/AlignArguments in app/models/principal.rbToshi MARUYAMA2019-11-061-1/+2
* Update copyright year.Go MAEDA2019-05-251-1/+1
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-1/+1
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-171-2/+2
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
* Use find_by instead of where.first to remove unnecessary sorting (#26747).Go MAEDA2018-10-061-1/+1
* Include locked members in filters (#15201).Go MAEDA2018-06-091-1/+3
* Support for lastnames with spaces in user autocompleters (#28154).Go MAEDA2018-04-071-6/+11
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
* Option to set a default assignee on each project (#482).Jean-Philippe Lang2017-04-081-0/+5
* SQL Cleanup.Jean-Philippe Lang2017-04-041-2/+1
* Don't preload projects and roles on Principal#memberships association (#23519).Jean-Philippe Lang2017-01-071-2/+1
* Speeds up rendering of the project list for users who belong to hundreds of p...Jean-Philippe Lang2017-01-031-2/+12
* Validate status of users and groups.Jean-Philippe Lang2016-04-111-0/+12
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
* Fixed that Project.uniq.visible errors under certain conditions (#21182).Jean-Philippe Lang2015-11-091-2/+1
* Find user by login then by email.Jean-Philippe Lang2015-08-151-4/+3
* Moved implementation to Principal.Jean-Philippe Lang2015-08-151-0/+24
* use String#casecmp for case insensitive comparison (#20369)Toshi MARUYAMA2015-08-121-1/+1
* remove trailing white spaces from app/models/principal.rbToshi MARUYAMA2015-06-171-1/+1
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-171-2/+10
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
* Adds a role setting for controlling visibility of users: all or members of vi...Jean-Philippe Lang2014-11-111-0/+28
* Adds a single controller for users and groups memberships and support for add...Jean-Philippe Lang2014-10-231-0/+5
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-7/+9
* Adds buit-in groups to give specific permissions to anonymous and non members...Jean-Philippe Lang2014-09-281-0/+3
* Improve performance of Principal.member_of scopeJean-Baptiste Barth2014-05-191-1/+1
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
* code format cleanup Principal classToshi MARUYAMA2013-12-261-1/+5
* Optimizes the SQL query behind Principal#member_of.Jean-Philippe Lang2013-02-171-1/+1
* Adds "sorted" scope to Principal and User and sort users/groups properly.Jean-Philippe Lang2013-01-231-0/+10
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
* Code cleanup.Jean-Philippe Lang2012-12-131-2/+2
* Moved user status constants to Principal model.Jean-Philippe Lang2012-12-081-0/+6