Commit graph

284 commits

Author SHA1 Message Date
Karl Cordes 915ea23de4 Set OA subject by orderack_email_subject() 2022-06-26 10:05:18 +10:00
Karl Cordes 71f169ad5c Merge branch 'kzrl/oa_email_subject' 2022-06-26 10:02:28 +10:00
Karl Cordes b04193d795 Fix if conditional to be valid PHP syntax 2022-06-26 10:00:05 +10:00
Karl Cordes 11eb56ed56 Revert "Add Enquiry and job title to Order Acknowledgement email subject"
Reopen #47
This reverts commit 027680093f.
2022-06-25 17:12:46 +10:00
Karl Cordes 31aa49855f Revert "Enable debug"
This reverts commit 9915ad422c.
2022-06-25 17:12:32 +10:00
Karl Cordes 9915ad422c Enable debug 2022-06-25 17:11:27 +10:00
Karl Cordes 027680093f Add Enquiry and job title to Order Acknowledgement email subject
Closes #47
2022-06-25 17:06:48 +10:00
Karl Cordes 6e00981ed0 Change user and contact model email validation to just notEmpty
CakePHP email rule was failing to handle new generic TLDs
2022-04-06 13:20:52 +10:00
Karl Cordes 65aa86df31 Fix edit purchase order breaking Document foreign key 2022-02-14 15:30:29 +11:00
Karl Cordes c6d1c7bf36 Add attachment size 2022-01-08 14:17:38 +11:00
Karl Cordes 925ef2133c Add attachment sizes to enquiry table
better error view for email sending problems
2022-01-08 13:12:40 +11:00
Karl Cordes e4c38d33fc Fix edit purchase order view missing document_id 2022-01-05 21:26:08 +11:00
Karl Cordes f00b12f559 Fix user edit form lacking user_id hidden 2021-10-22 21:26:10 +11:00
Karl Cordes 1ec0f7085d Fix subject 2021-09-19 15:18:18 +10:00
Karl Cordes 42ad46e7a9 Revert "Fix subject"
This reverts commit ec16b25bb4.
2021-09-19 15:17:09 +10:00
Karl Cordes ec16b25bb4 Fix subject 2021-09-19 15:15:09 +10:00
Karl Cordes 999fc10999 Append job and enquiry numbers to outgoing PO email subjects 2021-09-19 15:07:16 +10:00
Karl Cordes 0c0c5927df Try to fix missing currency for PackingList 2021-04-27 09:01:37 +10:00
Karl Cordes 7d237976d8 Try font size 10 2021-04-22 07:05:24 +10:00
Karl Cordes 297aea215c Add blurb on first page generation per Con's request 2021-04-15 07:35:40 +10:00
Karl Cordes f24036f8a4 Revert accidental config changes 2021-03-19 21:24:44 +11:00
Karl Cordes 2331775547 CMC header changes. Show bank details based on currency 2021-03-19 21:19:04 +11:00
Karl Cordes cb59d790b1 Trying to use postfix to relay 2020-11-04 06:45:14 +11:00
Karl Cordes cbcaa9ad6c Try port 587 2020-11-03 21:34:44 +11:00
Karl Cordes 861df463af Bump timeout 2020-11-03 20:32:39 +11:00
Karl Cordes daf30cf4ce Debug smtp 2020-11-03 19:43:40 +11:00
Karl Cordes 93292440ac Enable debug 2020-11-03 19:35:31 +11:00
Karl Cordes 291bb67f17 Disable debug 2020-10-12 17:26:16 +11:00
Karl Cordes 54243ff6cc Enable debug 2020-10-12 16:58:59 +11:00
Karl Cordes 85dba6a13b Disable debug 2020-10-01 11:04:55 +10:00
Karl Cordes b69668ba33 Enable debug 2020-10-01 10:51:20 +10:00
Karl Cordes 3b0f6c47b5 Fix bug in vault picking up jobs for Queensland and Overseas 2020-09-09 17:28:11 +10:00
Karl Cordes 7f73e046c6 Meh 2020-08-10 22:26:28 +10:00
Karl Cordes 56371ce85d mount pdf and attachments from vault mount 2020-08-10 22:20:38 +10:00
Karl Cordes 15770374d5 Remove pdf dir 2020-08-10 22:08:58 +10:00
Karl Cordes 48075aa4c9 database config fix 2020-08-10 22:00:43 +10:00
Karl Cordes ad9b39207b Fixed database_stg.php 2020-07-14 17:31:23 +10:00
Karl Cordes a88e007e78 More staging fun 2020-07-14 17:24:53 +10:00
Karl Cordes c70503f91d Trying to make staging a thing 2020-07-14 16:00:05 +10:00
Karl Cordes a547a7119e Update README.md and some other changes 2019-12-18 15:06:53 +11:00
Karl Cordes bcc85b6759 Revert "Update php.in ito increase execution time"
This reverts commit 36f63049a7.
2019-07-11 16:55:11 +10:00
Karl Cordes 36f63049a7 Update php.in ito increase execution time 2019-07-11 16:48:48 +10:00
Karl Cordes 49ef50b7b8 Hopefully fix dodgy PO and jobs link 2019-07-09 17:12:26 +10:00
Karl Cordes 207d5db135 Remove a bunch of unused stuff from config/core.php 2019-07-04 17:15:06 +10:00
Karl Cordes 8c627e26c0 Fix missing bracket 2019-07-04 16:53:39 +10:00
Karl Cordes e552e6353a Disable debug to see if it fixes email attachments 2019-07-04 16:48:56 +10:00
Karl Cordes 893959224f Add missing bracket 2019-07-04 16:44:43 +10:00
Karl Cordes 0ce7ca6f26 Trying this to fix PDF attachments. Doesnt make much sense but whatever 2019-07-04 16:42:24 +10:00
Karl Cordes 5610d7d52d wtf 2019-07-04 16:25:10 +10:00
Karl Cordes 0dc8beb41e Add debug statement to see whats going on with file attachments 2019-07-04 16:13:26 +10:00
Karl Cordes 255e9fbe6b might fix the PO prob 2019-07-04 15:58:46 +10:00
Karl Cordes 7875d2c950 Enable debug 2019-07-04 15:48:44 +10:00
Karl Cordes 2727109165 Double the number of documents on index 2019-07-02 19:54:22 +10:00
Karl Cordes a6de4fbf10 Hopefully fixed the slow Quote Add/Edit page 2019-07-02 18:47:58 +10:00
Karl Cordes 860e4bfc6c Debugging the slow Quote add/edit page 2019-07-02 18:44:50 +10:00
Karl Cordes 401e24ffc4 Added ripmime binary to conf directory 2019-06-30 12:00:39 +10:00
Karl Cordes 9a31132da8 Definie email_directory in core.php 2019-06-29 15:06:45 +10:00
Karl Cordes 502c385e9f Change DB details. Remove bitbucket-pipelines 2019-06-15 12:50:41 +10:00
Karl Cordes 9d15fbe1d7 Fix broken logout link 2019-04-28 13:07:23 +10:00
Karl Cordes 1c15148954 Remove dead link to help page 2019-04-28 12:04:46 +10:00
Karl Cordes 0fc1152337 Add link to issue tracker 2019-04-27 12:33:30 +10:00
Karl Cordes 67591d14e3 Show git commit in default.ctp 2019-04-25 15:04:40 +10:00
Karl Cordes f455a131c7 Show git commit in default.ctp 2019-04-25 15:00:40 +10:00
Karl Cordes b98047c069 Debug 2019-04-25 14:28:44 +10:00
Karl Cordes 8ef529a700 Use deprecated to get commit hash 2019-04-25 14:25:44 +10:00
Karl Cordes 77509d6165 Add commit hash as env variable to docker 2019-04-25 14:03:21 +10:00
Karl Cordes 6b69159501 Show commit hash as version 2019-04-25 13:46:32 +10:00
Karl Cordes 5a8a48217d Disable debug 2019-04-23 19:01:55 +10:00
Karl Cordes c153eb122c Change attachment index pagination limit so it doesn't time out 2019-04-23 18:59:27 +10:00
Karl Cordes df1d396630 Disable debugging. Add limit to documents index 2019-04-17 20:44:20 +10:00
Karl Cordes 93bcf3e641 Fix bug in getCurrentUserID() 2019-04-07 10:36:25 +10:00
Karl Cordes 820ddbb621 Fix issues in new enquiry logic 2019-04-06 22:16:13 +11:00
Karl Cordes 6dc37ea5a6 Remove logout link. Disable debug 2019-03-18 21:50:18 +11:00
Karl Cordes 8cd4804652 Fix conflict 2019-03-18 18:56:19 +11:00
Karl Cordes 6c8ce9a78b Remove auth. Choose user based on nginx HTTP basic auth 2019-03-18 18:53:35 +11:00
Karl Cordes 8fcd678dc8 Revert "Try to fix auth with secure cookie"
This reverts commit ae97fec519.
2019-03-14 16:19:41 +11:00
Karl Cordes 8b59b66ee6 Add TODO for currency logic 2019-02-24 17:10:02 +11:00
Karl Cordes 5c23dd29fb Revert "Try to fix auth with secure cookie"
This reverts commit ae97fec519.
2019-01-28 13:05:48 +11:00
Karl Cordes ae97fec519 Try to fix auth with secure cookie 2019-01-27 12:35:38 +11:00
Karl Cordes bae6dc5c22 Update DB to match vultr 2019-01-27 12:27:26 +11:00
Karl Cordes c3596ef2b1 Change config to work on my local env
Need to figure out how to pre-process database.php or
read the values from environment vars.

Failing at PHP so unable to do the latter
2018-12-22 17:57:51 +11:00
Karl Cordes 1c64c0ec2a Removed die from vault 2018-08-09 21:12:43 +10:00
Karl Cordes d6009a8267 Added port 2017-10-27 19:50:41 +11:00
Karl Cordes 5349694828 Fixed if syntax 2017-10-27 19:49:54 +11:00
Karl Cordes 0a90824a19 Added external host to config.php 2017-10-27 19:48:00 +11:00
Karl Cordes 52a19aef90 Revert to port 25 because cakephp1.2 is terrible 2017-09-06 22:42:12 +10:00
Karl Cordes 17e8e574a2 Optus blocks port 25 2017-09-06 22:08:07 +10:00
Karl Cordes e72b94f2c4 Removed lock functionality from vault. Will try to use flock which should be smarter 2017-03-22 01:55:30 +11:00
Karl Cordes 8946659fec Fix PO sending. Gmail was rejecting the format of the To: address 2016-12-10 10:24:54 +11:00
Karl Cordes 50c39100e5 Fix email credentials for gsuite 2016-11-21 18:10:38 +11:00
Karl Cordes 8362ad8a23 Change email dir path 2016-11-17 19:05:45 +11:00
Karl Cordes febadcdf96 Fix database config 2016-11-17 18:48:43 +11:00
Karl Cordes a2559638f9 Maybe fixed lockfile 2016-11-16 23:08:50 +11:00
Karl Cordes e2997d951a wtf lockfile 2016-11-16 23:07:22 +11:00
Karl Cordes d8f40806e1 Maybe fixed vault 2016-11-16 22:56:01 +11:00
Karl Cordes e8caee5d2f Simplified vault. hopefully this works 2016-11-16 22:42:50 +11:00
Karl Cordes 9d716c0665 Merge branch 'gsuite' 2016-11-05 14:14:18 +11:00
Karl Cordes 912f04cddd Quick hack to make gsuite work with document emailer 2016-11-05 14:10:55 +11:00
Karl Cordes d00128e913 Trying quick fix for gsuite enquiry sending 2016-11-05 12:22:42 +11:00
Karl Cordes 89894906fa Revert change to make it work with G Suite 2016-10-18 22:41:41 +11:00