Commit Graph

37 Commits (709eee4f1f426d84be241f5596c391c182ceabbc)

Author SHA1 Message Date
Philipp 63fca0af29
Refactoring Core class structures ... 2021-10-26 21:44:28 +02:00
Philipp ae86b2e806
Restructure (P)Config to follow new paradigm 2021-10-23 11:29:15 +02:00
Hypolite Petovan f6735056b0 [ldap] Only call ldap_createaccount once
- Moved group membership check before user creation
- Improve group membership check error message specificity
2021-06-07 23:55:24 -04:00
Hypolite Petovan b43dca5087 [ldapauth] Rework authentication and add logging 2020-11-19 11:18:48 -05:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 62d6f08fc1
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:41 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
Philipp Holzer 5c6108b3cc
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 21:44:54 +02:00
Philipp Holzer c8a63f6b9c
Moving/Renaming ConfigCacheLoader to ConfigFileLoader 2019-03-24 22:52:43 +01:00
Philipp Holzer 2e33d99f18
Moved method names & class 2019-02-18 01:22:09 +01:00
Philipp Holzer 7aa0760742
Refactoring ConfigCacheLoader methods 2019-02-05 22:27:56 +01:00
Philipp Holzer 2ba4c95f4b
Bugfixing Addon-config 2019-02-04 02:07:58 +01:00
Philipp Holzer b541efc5e6
3) Introducing ConfigFactory 2019-02-03 22:22:03 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan f0fc02e544 [ldapauth] Update config file style/name 2018-11-25 02:13:45 -05:00
Adam Magness 49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
Hypolite Petovan 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan 858d09e865 [ldapauth] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:47 -04:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Michael Vogel fc62d44e78
Revert "Revert "Use Exceptions for User::create"" 2017-12-13 20:01:25 +01:00
Tobias Diekershoff 97844e1bab
Revert "Use Exceptions for User::create" 2017-12-13 12:05:31 +01:00
Hypolite Petovan f834d1d145 Use Exceptions for User::create 2017-12-12 21:17:46 -05:00
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Hypolite Petovan 8bfe13246d Remove needless parentheses 2017-12-04 02:47:08 -05:00
Hypolite Petovan 780481528d Update function calls
- Add use statement
- Remove require
2017-12-03 22:38:52 -05:00
Hypolite Petovan 51e43d6dca Fix ldapauth formatting 2017-12-03 22:38:03 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Olivier Mehani d6f727974b Full name in LDAP is usually cn; compare ldap_connect() to false
Signed-off-by: Olivier Mehani <shtrom+friendica@ssji.net>
2016-02-10 11:08:40 +00:00
Olivier Mehani bba50284ca [ldapauth] Add some early connect debug log
Signed-off-by: Olivier Mehani <shtrom+friendica@ssji.net>
2016-02-10 04:55:57 +00:00
Développeur égaré e5252af61b Clean code and fix potential issues 2015-03-06 22:34:42 +01:00
Développeur égaré 31456b2f43 update readme 2015-02-04 16:55:07 +01:00
Développeur égaré 4020bf861e automated creation of Friendica basic account 2015-02-04 00:35:24 +01:00
Abinoam Jr 18903ade74 Friendika -> Friendica (ldapauth) 2012-01-31 08:06:20 -03:00
friendica 391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
Friendika 056921b1e8 addon repository relocated 2011-09-25 01:56:03 -07:00