Commit Graph

123 Commits

Author SHA1 Message Date
Benjamin Sonntag dbb41924bd [enh] add a debug() method to messages, and set this instead of LOG() for most api calls => only api calls that CHANGES something are now calling log() (which logs) and others are calling debug() which logs nothing by default. A variable allow for debugging 2018-06-28 00:27:10 +02:00
Benjamin Sonntag 8dc5c20fa5 [fix] remove now unused ico for menu icons (in css) 2018-06-23 11:49:49 +02:00
Benjamin Sonntag 6e9c3c3c63 Merge remote-tracking branch 'origin/pr-255'
Fix #254: Creating default domains for new members fails #255
2018-06-22 08:32:48 +02:00
Benjamin Sonntag f48618d0e5 Merge remote-tracking branch 'origin/pr-235'
Fix #227: Use stronger password hashes #235
2018-06-21 17:44:53 +02:00
Kienan Stewart ce80e3cdad Fix #254: Creating default domains for new members fails
A typo caused the check to see if domain delegation was allowed to
always fail.
2018-06-14 10:50:28 -04:00
Kienan Stewart f39e72d58a Fixes #243: Fix typo in domain_name variable 2018-06-08 14:32:01 -04:00
Kienan Stewart a609984d39 Fix invocations of password_hash() 2018-04-15 22:00:16 -04:00
Kienan Stewart 6084650181 Use PHP's built-in password hashing and verification for user accounts 2018-04-15 18:26:41 -04:00
Benjamin Sonntag 5b7622ce90 [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-08 19:31:34 +02:00
Benjamin Sonntag 941475b094 fixing an error message shown when browsing as a subadmin 2017-10-07 16:13:26 +02:00
Benjamin Sonntag 985094a881 Merge branch 'stable-3.1' of github.com:AlternC/AlternC into stable-3.1 2017-10-07 15:12:27 +02:00
Benjamin Sonntag ca6b1cf4d9 [enh] removing the unmaintained upnp package 2017-10-07 15:12:18 +02:00
azerttyu cf949cf245 Forgot Heredoc syntax
In php no more required to use heredoc and done some linter headache
2017-10-07 12:19:43 +02:00
Benjamin Sonntag 3de55aca37 [cosm] reindent, check language of comments, ensure /** phpdoc style comments, simplify file header (license only) etc. 2017-10-06 23:42:39 +02:00
Benjamin Sonntag 33f8e78885 [fix] class m_messages fixed to use 'level' instead of 'type' or 'cat' + force CAP on levels + merge OK and INFO 2017-10-06 18:04:36 +02:00
quenenni b16c3ac69a classe admin / fichiers section admin associés 2017-08-15 17:03:56 +02:00
Benjamin Sonntag cd310b355a adding mandatory fields to the account creation form, Fixes #132 2017-06-18 18:45:57 +02:00
Remi 1b73dff3a5 bug fix: sub admin were proposed to install hosting_tld for new user, but the domain creation silently failed 2016-07-07 12:59:56 +02:00
Emmanuel Monbroussou 4e558e5e7c [wip] Passing mysql request params into array arguments for the query method (part 4) 2016-05-18 12:51:03 +02:00
Emmanuel Monbroussou 262336aadb [wip] Passing mysql request params into array arguments for the query method (part 1) 2016-05-17 17:21:08 +02:00
Remi a9e057cbd1 bug fix: installed domain list was too slow due to DNS request on self managed records (gesdns=1)
bug fix: do not allow DNS modification of created domains under hosting_tld
2016-02-25 16:13:08 +01:00
Benjamin Sonntag 3e42567048 REFACTORING: code formatting of the panel + braces on if/while/for + fixe some missing or too many Globals in functions 2015-09-25 00:01:04 +02:00
Benjamin Sonntag 179f4dd580 fixing password policy issue with levensthein 2015-08-03 15:55:05 +02:00
Benjamin Sonntag b2d1540693 adding levenshtein computation in password policy (deny >40% similarity with login) + deny login in password or the other way around 2015-06-16 14:09:11 +02:00
Benjamin Sonntag d6980d7664 proper spaces in admin 2015-06-08 19:21:34 +02:00
Benjamin Sonntag b2dca9d915 [fix] some exec() didn't have escapeshellarg() as needed 2014-11-27 14:51:51 +01:00
Antoine Beaupr�� 73606b8e26 add get_login_by_uid API 2014-06-18 15:26:53 +00:00
Alan Garcia d2e69b4975 Corrige des variables 2014-03-28 11:37:36 +00:00
Alan Garcia 8e93341cd3 Some cosmetics 2014-03-27 13:50:44 +00:00
fufroma 34594c884f Suggested patchs 2014-03-26 18:30:01 +01:00
alban 3e635703c6 [fix] Code documentation and eventual cosmetic changes 2014-03-26 18:00:36 +01:00
fufroma 7cd158c45c Suggested comments 2014-03-26 14:59:41 +01:00
alban 6adef177c9 [fix] code documentation, comments and cosmetic changes 2014-03-26 14:29:08 +01:00
Alan Garcia 0349fef05a Coding style 2014-03-26 11:01:02 +00:00
Alan Garcia 19dbf9561f Bugfix affichage rawhtml des variables
Debut de changement pour variable_get
2014-03-20 11:53:32 +00:00
Alan Garcia 1140927f05 Bugfixes 2014-01-21 17:42:21 +00:00
Alan Garcia 2b8b5e0f67 Nouvelle version pour manipulation et utilisation des variables.
Interface de visualiastion OK

TODO: 
  * php -> interface de modification
  * sql -> finir migration (strata des truc presents)
  * sql -> faire installation
2014-01-21 12:57:18 +00:00
Alan Garcia b9db60556c Dans la page de gestion des comptes, le truc de recherche de domaine n'avait pas de filtre sur le createur (arg !) 2013-12-11 14:55:19 +00:00
Alan Garcia 33e657d3e6 Fix #1539 2013-10-18 07:34:46 +00:00
Alan Garcia b9d513a81e Fix #1529
Force une synchro du profil de quota si celui ci change
2013-10-17 15:27:06 +00:00
Alan Garcia f12bbd53d2 Rollback de r4494 2013-10-17 14:13:26 +00:00
Alan Garcia 2eb73fcd47 Partial fix of #1525 2013-10-17 12:26:13 +00:00
Alan Garcia 691272fe84 Rajoute le nom du createur du membre en title sur la liste courte sur la liste des membres
Principe de la recherche "all" par defaut
2013-09-23 12:48:18 +00:00
Fran��ois Serman 45990307b1 adding a group by uid to avoid duplication 2013-09-23 11:11:45 +00:00
Fran��ois Serman 14bb794dd0 member listing now includes a form to search amoung domains rather than logins 2013-09-23 10:11:59 +00:00
Fran��ois Serman 4f603deb80 adding crypto module, used for LXC 2013-09-21 15:03:59 +00:00
Alan Garcia b260ab4ff9 Ajout d'une fonction pour get_uid_by_login en php
Test pour eviter de lever des errerurs lorsqu'on utilise le cli
2013-09-18 09:18:10 +00:00
Alan Garcia ed34d3bc3c Maintenant on peux désactiver le login pour tout le monde SAUF l'admin.
Pratique lors des mise à jour.
2013-09-12 13:17:04 +00:00
Alan Garcia 2902601157 Fix #1066
Permet de locker tout les jobs
2013-09-12 09:28:31 +00:00
Alan Garcia 4e0f0eebf7 Fix #1526
Met a jour le quota utilisateur quand on coche "reset quota" lorsqu'on l'édite
2013-09-12 09:07:09 +00:00