Commit Graph

2574 Commits

Author SHA1 Message Date
Antoine Beaupr�� afd2746bcc make mail_add dry by default to avoid potential catastrophe 2014-11-20 16:47:29 +00:00
Antoine Beaupr�� c9c381f406 do not use mysql_pconnect
mysql_pconnect leaves stray mysql connexions lying around and we do our own connexion management anyways
2014-11-05 21:52:36 +00:00
Antoine Beaupr�� 4c4cd25bce fix error handling in do_actions.php 2014-10-28 17:48:45 +00:00
Alan Garcia 923dd0989c Pb de variable quand on ajoute un domaine en .eu 2014-10-28 08:08:07 +00:00
Antoine Beaupr�� 281edf671d fix systematic failure message: output was never set so this was always setting an error
also do not use the macho 'dude', operator genitalia having very little relevance here
2014-10-14 21:47:20 +00:00
Antoine Beaupr�� 2ac05cfb6f spare one more little cat 2014-10-14 21:41:23 +00:00
Antoine Beaupr�� fa5bfd574c mailx doesn't support -r, use -a 2014-10-14 21:40:55 +00:00
Antoine Beaupr�� 0a697d1401 properly output restore code 2014-10-13 23:10:00 +00:00
Antoine Beaupr�� 71647e7fd7 revert previous fix and fix properly 2014-10-13 23:08:32 +00:00
Antoine Beaupr�� 7eba1bb1f6 fix email deactivation 2014-10-13 23:02:13 +00:00
Antoine Beaupr�� b906850eb5 more reasonable permissions on config files
this way the webserver don't own the files (so can't change perms) yet can still read
2014-10-06 15:15:55 +00:00
Benjamin Sonntag 9025bcd78c [fix] incron.d now working, adding creation of /run/alternc/ssl at reboot fix of many small forced type bugs 2014-09-21 21:44:35 +02:00
Benjamin Sonntag a3e2257b50 Merge branch 'feature-api' of alternc.org:alternc into feature-ssl 2014-09-21 16:44:32 +02:00
Benjamin Sonntag eaa3f52364 [fix] Auth OK, Call OK 2014-09-21 16:44:06 +02:00
Benjamin Sonntag 924b36ee19 Auth() for Sharedsecret is now working, Token Object too. 2014-09-21 15:26:25 +02:00
Benjamin Sonntag 3058ed4cbe [fix] __autoload for api from alban + fixing variables & bad preg 2014-09-21 13:27:51 +02:00
Benjamin Sonntag 953ac3bb89 Merge branch 'feature-api' into feature-ssl 2014-09-21 00:21:47 +02:00
Benjamin Sonntag 5eb6ae6d47 adding token to service to allow it to be used at constructor time by Object_* class 2014-09-21 00:19:21 +02:00
Benjamin Sonntag 67be0d1e1f [enh] adding ssl class to the API 2014-09-21 00:15:16 +02:00
Benjamin Sonntag 3fd06ee821 adding incron.d folder (also for alternc itself) 2014-09-20 19:31:26 +02:00
Benjamin Sonntag 73b6ef9bd9 adding incron.d for alternc-ssl 2014-09-20 19:30:23 +02:00
Benjamin Sonntag da9791395d adding alternc-ssl module into a new branch 2014-09-20 19:23:57 +02:00
Benjamin Sonntag b516f22c1e fixing makefile, adding dirs and postinst for alternc-api package 2014-09-20 18:53:27 +02:00
Benjamin Sonntag 7794023804 adding AlternC-API package to the system 2014-09-20 18:34:00 +02:00
Benjamin Sonntag e98e95fd42 adding AUTH to the API 2014-09-20 18:01:22 +02:00
Benjamin Sonntag 62ec561374 adding the real api (quick bootstrap + serving apicalls at /api/. need to do AUTH now, and makefile/debian package 2014-09-20 17:29:40 +02:00
Benjamin Sonntag bde156f63d adding token_hash to Request, fixing token vs. token_hash paradigm/transtyping 2014-09-19 18:22:45 +02:00
Benjamin Sonntag 0897effdc7 adding Login auth + adding *description* in Api_Auth_Interface + implementing SetUid Auth in Service 2014-09-19 17:30:57 +02:00
Benjamin Sonntag 57c1077ebb adding Alternc_Api_Token and Alternc_Api_Auth_SharedSecret + Alternc_Api_Auth_Interface 2014-09-18 12:01:34 +02:00
alban e36cdb7293 [enh] Adds request & response 2014-09-17 17:54:24 +02:00
alban 98c4b28075 [fix] diagnostic useless comment 2014-09-17 17:53:59 +02:00
alban 4cfa0d3603 [fix] tweaks 2014-09-15 17:13:26 +02:00
alban 5a31dc9b96 Merge branch 'stable-3.1'
Conflicts:
	bureau/class/m_action.php
	bureau/class/m_bro.php
	bureau/class/m_dom.php
	debian/changelog
	install/mysql.sql
	install/upgrades/3.3.0~a.sql
2014-09-15 15:25:27 +02:00
alban 7c597daa73 [fix] Missing chmod action 2014-09-09 14:52:56 +02:00
Benjamin Sonntag 58d16d47f9 setting user cron timeout to 3600 Sec (1H) + NOT RETRYING when using wget 2014-09-03 15:10:18 +02:00
Benjamin Sonntag c96f928056 fixing alternc_shutdown bug 2014-08-27 11:20:54 +02:00
Benjamin Sonntag 81aae4c2f4 back to our normal code syntax, fixing 'R = ' bug in urls 2014-08-22 11:04:05 +02:00
Benjamin Sonntag beebd51f37 fixing a bug when deleting file (double directory) 2014-08-21 11:37:48 +02:00
Benjamin Sonntag d4d746bce8 fixing dovecot configuration for LASTLOGIN variable on DOVECOT2 2014-08-01 12:00:17 +02:00
Benjamin Sonntag 5f8dea3c8d fixing man install properly done now 2014-08-01 11:59:56 +02:00
Squidly a456a545b0 Updating options for update_quota_mail.sh script 2014-07-31 15:32:47 +02:00
Squidly d37d906ff5 Fixes #1618 Updating dovecot configuration to account for disk space used by mails on the global disk space. 2014-07-31 15:28:22 +02:00
Squidly b2949424c3 Updating error message to give a usefull information 2014-07-31 10:57:49 +02:00
Antoine Beaupr�� d278474358 rewrite the account deactivation code to make sure it works with mailboxes and restores properly 2014-09-24 22:05:47 +00:00
alban 6b033580c9 [fix] chmod action requiring a SQL change + lost action global reference in m_bro 2014-09-16 18:40:50 +02:00
Benjamin Sonntag 4749974bf1 fixing DEBCONF error when upgrading from 1.0 to 3.x : it migrates automatically to /var/www without telling / asking the user 2014-07-04 17:00:30 +02:00
Benjamin Sonntag 204cb56326 mysql accept no argument BEFORE --defaults-file 2014-07-04 16:17:07 +02:00
Benjamin Sonntag fe6b632b74 fixing upgrade from 3.0 / 3.1 / 3.2 2014-07-04 16:04:17 +02:00
Squidly 2f0a68c280 Bugfixing domain deletion with update_domains php style ( This might be a ugly hack but who cares about technical debt right ^^ ) 2014-07-04 13:46:32 +02:00
Antoine Beaupr�� fa31340baa put depends on separate lines to ease diffs 2014-08-06 14:36:52 +00:00