Alexander Brandon Coles
d17da65477
Freeze string literals in app/models
...
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/models
2025-07-22 18:26:13 +01:00
Klaus Zanders
3f20102c7b
fix rubocop issues
2024-11-19 13:00:20 +01:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
ulferts
3b2121f733
Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
...
This reverts commit 40b2bbeb09 , reversing
changes made to b4c6cb17cc .
2024-03-21 11:31:17 +01:00
Ivan Kuchin
7787e457a3
Revert "Merge branch 'dev' into release/13.4"
...
This reverts commit a901541269 , reversing
changes made to e573ca00b7 .
2024-03-20 20:19:08 +01:00
Ivan Kuchin
9e4934cd0a
change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a
2024-03-20 18:05:22 +01:00
Oliver Günther
692c730195
Ensure we always look in LDAP for the user even if not onthefly
2024-02-06 16:05:59 +01:00
Oliver Günther
8a938b37c1
Adapt auth_source_sso with improved finding of users
2024-02-06 16:05:58 +01:00
Oliver Günther
7a09676adc
Update users using their LDAP attributes when logging in
2024-02-06 16:05:58 +01:00
Christophe Bliard
c795874f7f
Update copyright year for 2024
...
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Oliver Günther
2de011f9e7
Fix auth_source translation key
2023-07-27 16:20:15 +02:00
Oliver Günther
ff96282fc1
Block editing in UI when provided as seed
2023-07-27 16:20:15 +02:00
Oliver Günther
e7674b4103
Remove type and auth_method_name
2023-07-27 08:16:43 +02:00
Oliver Günther
46f47f6c63
Remove DummyAuthSource
2023-07-27 08:16:43 +02:00
Oliver Günther
e32d2d0058
Remove AuthSource base namespace, model
2023-07-27 08:16:43 +02:00
Christophe Bliard
9e865b4f7b
lint: Run rubocop safe autocorrect
...
Command is `rubocop --safe --autocorrect app lib lib_static modules spec`
2023-03-09 10:25:57 +01:00
Christophe Bliard
c43fccf246
lint: autocorrect Style/HashSyntax
...
command is
rubocop -A --only Style/HashSyntax app lib lib_static modules spec
2023-03-07 15:07:44 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01:00
Oliver Günther
fb7951d987
Extend specs with verify_mode and tls certificate
2022-11-15 16:07:12 +01:00
Oliver Günther
f0c8bbe551
Add new LDAP option for certificate verification
2022-11-15 15:56:39 +01:00
Oliver Günther
8295f4986d
Set default TLS mode to start_tls and reorder in form
2022-11-15 15:56:38 +01:00
Oliver Günther
c9cbc40e67
Allow ldap_tls_options to be a setting
2022-09-26 11:40:04 +02:00
Oliver Günther
ffdf1caf0d
Correctly skip user admin mapping when syncing users
...
The admin flag was returned as false even if the admin attribute was not
set.
https://community.openproject.org/wp/42396
2022-05-17 11:06:02 +02:00
Oliver Günther
02a80edccd
Allow setting the status on User create/update contracts
2022-04-05 08:30:35 +02:00
Oliver Günther
c991d6771c
Readd the two removed rake tasks as services
...
They were broken so I removed them. But instead of removing import
functionality, I decided to re-add them and fix them.
2022-03-31 12:05:43 +02:00
Oliver Günther
22cf9ea47c
Add LDAP user synchronization job
2022-03-31 09:46:21 +02:00
Christophe Bliard
a33524ef6d
remove ruby magic comment for utf-8
...
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard
bc8d423ec2
update copyright information for 2022
2022-03-01 17:05:59 +01:00
Oliver Günther
ccfa29c728
Move license and copyright docs to root, fix names and references
2021-09-02 21:50:46 +02:00
Oliver Günther
6086f320e8
[37036] Always return user attributes when sync_users enabled
...
When a synchronized group has sync_users enabled, we want to synchronize the user
to OpenProject even if the connection doesn't have onthefly_register enabled.
But currently, the user attributes (name, mail, etc.) are only returned if onthefly_register is set
so the synchronization will never work without it being set on the connnection
https://community.openproject.org/wp/37036
2021-04-28 14:22:31 +02:00
Oliver Günther
4980b4fb4a
Allow LDAP filters and groups to individually sync users ( #9031 )
2021-02-22 15:24:16 +00:00
Oliver Günther
0c9fb9b1af
[36206] Make force_no_page for ldap configurable
...
https://community.openproject.com/wp/36206
2021-02-15 12:18:08 +01:00
ulferts
1bdd2ab9ae
safe automatic fixes by rubocop ( #8994 )
2021-02-11 16:02:18 +01:00
ulferts
22393040a8
Merge branch 'release/11.1' into dev
2021-01-14 10:02:50 +01:00
ulferts
6140f4c7e9
update copyright to 2021 ( #8925 )
...
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.
Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00
Oliver Günther
7e10047827
Fix removed LdapError error class
2021-01-12 09:28:24 +01:00
Oliver Günther
cbc65b8b22
Use present? on filter string
...
We want the filter string to be optional, but if an empty string is passed
this results in an error.
2020-05-26 09:49:56 +02:00
Oliver Günther
70348e2e1e
Allow to override path to the CA used by LDAP connections
2020-05-14 15:03:56 +02:00
Oliver Günther
a8c6e45a92
Add LDAP auth source filter functionality
2020-04-28 08:51:17 +02:00
Oliver Günther
273ae7e443
Add creation of users based on on-the-fly register
...
[ci skip]
2020-04-27 09:39:22 +02:00
Oliver Günther
812cbf183c
Allow filters to define multiple LDAP synchronized groups
2020-04-24 15:43:19 +02:00
Henriette Dinger
bd7f4e4814
Update copyright notice
2020-01-15 11:31:26 +01:00
Oliver Günther
f924a48028
[29622] Implement start_tls for ldap_auth_source
...
https://community.openproject.com/wp/29622
2019-02-27 18:18:45 +01:00
Oliver Günther
6ef4211e77
Bump copyright to 2018 ( #6171 )
...
[ci skip]
2018-02-12 08:51:12 +01:00
Markus Kahl
4b316ec470
LDAP Single Sign-on ( #5888 )
...
* ldap sso
* localise sso failure error
* code climate
* code climate 2
* code climate 3
* added missing login param
* make spec work with SSO module prepended to ApplicationController
* polish
[ci skip]
2017-08-30 16:17:02 +02:00
Henriette Dinger
2f092e3f0e
Merge remote-tracking branch 'origin/release/6.1' into merge-dev-release
2017-03-07 09:46:10 +01:00
Oliver Günther
36aebac777
Add :attr_admin to permitted params
...
Otherwise, setting them from UI will fail.
2017-02-10 14:39:36 +01:00
Oliver Günther
7cf11bb689
Update copyright notice
2017-01-10 15:11:43 +01:00
Oliver Günther
11600efa96
Add is_admin mapping for ldap
2016-12-19 20:34:34 +01:00
Oliver Günther
9bf097694c
[24403] Use force_no_page in Net::LDAP
...
https://community.openproject.com/projects/openproject/work_packages/24403/activity
2016-12-06 19:17:20 +01:00