0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-03-15 05:44:49 +00:00
Commit graph

107 commits

Author SHA1 Message Date
Jack Anderson
504d6f0ebd SuiteCRM 7.14.4 Release 2024-06-07 08:43:29 +01:00
Jack Anderson
cec86eaa05 Update Notes Label 2023-09-25 15:06:25 +01:00
Jack Anderson
b11810b7a9 PHP 8.2 - Set show preview false 2023-08-22 17:26:36 +01:00
Jack Anderson
aefadada27 Run rector on modules folder 2023-07-18 15:53:48 +01:00
Clemente Raposo
9aff7071bb Run rector on modules folder 2023-07-18 15:53:09 +01:00
f.robertson
d2e0fa617a Fix - Fix for Notes module advanced date-modified search 2022-08-04 09:57:22 +01:00
Dillon-Brown
80cd01baa7 Merge remote-tracking branch 'public/hotfix' into develop_history_fix
# Conflicts:
#	composer.json
#	composer.lock
#	include/javascript/jquery.js
#	include/utils/php_zip_utils.php
#	include/utils/zip_utils.php
2021-09-08 15:25:21 +01:00
Horus68
ebbdd7925c SuiteP template translators notes
Adding note for translators:
//No need to be translated in all caps. Translation used just in menu action items when using the SuiteP template
2021-08-19 13:53:32 +01:00
Dillon-Brown
4ee7a709a0 Remove PHP4 constructors
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-26 21:50:24 +00:00
Stephen Ostrow
833391dbbb Add feature to relate a Note with a Campaign
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-26 21:46:59 +00:00
Matt Lorimer
1618af16ea 7.11.16 2020-10-28 16:54:54 +00:00
Matt Lorimer
2c48735fbe Merge branch 'hotfix-7.10.x' into hotfix
# Conflicts:
#	README.md
#	composer.lock
#	data/BeanFactory.php
#	files.md5
#	modules/AOD_Index/AOD_Index.php
#	modules/AOR_Conditions/conditionLines.php
#	modules/AOW_Conditions/conditionLines.php
#	modules/Activities/SetAcceptStatus.php
#	modules/Administration/views/view.backups.php
#	modules/Calendar/controller.php
#	modules/Campaigns/WizardCampaignSave.php
#	modules/Contacts/AcceptDecline.php
#	modules/Emails/Compose.php
#	modules/Opportunities/OpportunityFormBase.php
#	modules/Project/chart.php
#	modules/SavedSearch/index.php
#	service/v3_1/SugarWebServiceUtilv3_1.php
#	soap/SoapPortalHelper.php
#	suitecrm_version.php
#	tests/unit/phpunit/data/SugarBeanTest.php
#	tests/unit/phpunit/include/SugarFolders/SugarFolderTest.php
#	tests/unit/phpunit/modules/AOS_Products/AOS_ProductsTest.php
#	themes/SuiteP/css/Dawn/style.css
#	themes/SuiteP/css/Day/style.css
#	themes/SuiteP/css/Dusk/style.css
#	themes/SuiteP/css/Night/style.css
2020-03-30 10:50:29 +01:00
Craig Panton
498b702157 Prep for 7.11.11 release 2020-01-28 17:06:26 +00:00
j.dang
2050a76e41 Replace explicit bean instantiations in files 231 - 240
- File: '... /modules/Notes/NotesQuickCreate.php'

   - Replaced 1 occurrence(s) of 'new Note()'

- File: '... /modules/iCals/HTTP_WebDAV_Server_iCal.php'

   - Replaced 1 occurrence(s) of 'new User()'

- File: '... /modules/iCals/iCal.php'

   - Replaced 1 occurrence(s) of 'new ProjectTask()'

   - Replaced 1 occurrence(s) of 'new Contact()'

   - Replaced 1 occurrence(s) of 'new Task()'

- File: '... /modules/FP_events/Dashlets/FP_eventsDashlet/FP_eventsDashlet.php'

   - Replaced 1 occurrence(s) of 'new FP_events()'

- File: '... /modules/FP_events/controller.php'

   - Replaced 1 occurrence(s) of 'new ProspectList()'

   - Replaced 3 occurrence(s) of 'new EmailTemplate()'

   - Replaced 3 occurrence(s) of 'new Note()'

   - Replaced 1 occurrence(s) of 'new Email()'

   - Replaced 5 occurrence(s) of 'new FP_events()'

- File: '... /modules/FP_events/responseEntryPoint.php'

   - Replaced 1 occurrence(s) of 'new FP_events()'

- File: '... /modules/Users/authentication/AuthenticationController.php'

   - Replaced 1 occurrence(s) of 'new Administration()'

- File: '... /modules/Users/authentication/LDAPAuthenticate/LDAPAuthenticateUser.php'

   - Replaced 1 occurrence(s) of 'new User()'

   - Replaced 1 occurrence(s) of 'new Administration()'

- File: '... /modules/Users/authentication/SugarAuthenticate/SugarAuthenticateUser.php'

   - Replaced 1 occurrence(s) of 'new EmailTemplate()'

   - Replaced 1 occurrence(s) of 'new Email()'

   - Replaced 1 occurrence(s) of 'new User()'

- File: '... /modules/Users/authentication/SugarAuthenticate/FactorAuthEmailCode.php'

   - Replaced 1 occurrence(s) of 'new EmailTemplate()'

   - Replaced 1 occurrence(s) of 'new Email()'
2020-01-22 13:51:12 +00:00
j.dang
1899e673ab Replace explicit bean instantiations in files 221 - 230
- File: '... /modules/MergeRecords/Step3.php'

   - Replaced 1 occurrence(s) of 'new MergeRecord()'

- File: '... /modules/MergeRecords/Step1.php'

   - Replaced 1 occurrence(s) of 'new MergeRecord()'

- File: '... /modules/MergeRecords/SaveMerge.php'

   - Replaced 1 occurrence(s) of 'new MergeRecord()'

- File: '... /modules/ProspectLists/Delete.php'

   - Replaced 1 occurrence(s) of 'new ProspectList()'

- File: '... /modules/ProspectLists/Duplicate.php'

   - Replaced 1 occurrence(s) of 'new ProspectList()'

- File: '... /modules/ProspectLists/Save.php'

   - Replaced 2 occurrence(s) of 'new ProspectList()'

- File: '... /modules/ProspectLists/ProspectListFormBase.php'

   - Replaced 2 occurrence(s) of 'new ProspectList()'

- File: '... /modules/Notes/Dashlets/MyNotesDashlet/MyNotesDashlet.php'

   - Replaced 1 occurrence(s) of 'new Note()'

- File: '... /modules/Notes/NoteSoap.php'

   - Replaced 2 occurrence(s) of 'new Note()'

- File: '... /modules/Notes/Note.php'

   - Replaced 2 occurrence(s) of 'new Contact()'
2020-01-22 13:51:11 +00:00
Craig Panton
d72ca91d30 Making code review changes 2019-12-27 14:42:19 +00:00
Craig Panton
024822c013 Add functionality to allow files to be attached to notes via the filename and filecontents fields. 2019-12-27 09:35:14 +00:00
Dillon Brown
ea066d7a0b
Merge pull request from Jason-Dang/fix/activities-history-queries
Fix Activities and History Queries
2019-10-24 14:36:44 +01:00
Dillon-Brown
a5ca90ac8b Removed unused description headers 2019-10-14 14:12:09 +01:00
j.dang
90c2bc94fa Fix activities and history queries
- Fix date_end/date_due aliasing for activities/history union queries.
- Cleanup files.
2019-10-09 15:31:03 +01:00
Dillon-Brown
3c63062ef4 Remove PHP4 functions (intval, floatval, doubleval, strval) 2019-08-05 16:01:41 +01:00
Dillon-Brown
8eb9dbf1c2 PSR-2 2019-07-04 17:06:34 +01:00
Christoph Reiter
72b9c33141 Fixed - Fix and implement proper bounce email handling
Bounce handling is currently broken for multiple reasons:

(1) The imported bounce email is saved in the notes description field which is
marked as text and strips away all HTML on save(). This removes/mangles the
link containing the tracking ID so the attachment can't be linked to the
campaign log later on.

(2) SMTP servers usually return the original email as an attachment on a
bounce and include an addition attachment containing the delivery status (RFC
3464). Since this attachment wasn't saved, hard bounces weren't detected.

(3) In case the tracking ID makes it through and the email is considered a
hard bounce then marking the email as invalid failed because
markEmailAddressInvalid() was called with an email object but expected a
string.

To fix all these:

For (1) we don't save the attachment in the description and read it from the
saved attachment file instead. This makes sure we get the original content and
can extract the tracking ID.

For (2) we also save the delivery-status attachments in addition to the email
copy and also evaluate it in the bounce handling code. This allows us to
confidently classify hard bounces by parsing the status and diagnostic fields
in the delivery status attachment.

For (3) pass an email address to markEmailAddressInvalid()

Fixes 
2019-03-26 14:04:14 +01:00
Dillon-Brown
8f7fcdc842 Copyright revision 2018-12-31 14:25:24 +00:00
Horus68
a7dc2220a9 Fix part 4
fixing typos and license
2018-08-03 17:50:48 +01:00
Horus68
7a8c3afa48 fix part 2
fixing typos
2018-08-02 19:01:56 +01:00
Horus68
34eb8562c6 Copyright notice update - Hotfix
Copyright notice update for hotfix branch
Changes: 
- Year 
- Double spaces
- Brand fix for SalesAgility Ltd. (was Salesagility Ltd)

Created from latest hotfix branch.
2018-08-01 20:14:25 +01:00
Dillon-Brown
6745e82ba0 indentation_type 2018-07-19 11:46:25 +01:00
Dillon-Brown
19cfb50dda single_blank_line_at_eof 2018-07-19 11:38:09 +01:00
Dillon-Brown
5d954f4d61 no_trailing_whitespace 2018-07-19 11:23:34 +01:00
Dillon-Brown
cf4b6aa9f3 no_spaces_after_function_name 2018-07-19 11:16:55 +01:00
Dillon-Brown
1cac25168e lowercase_keywords 2018-07-17 15:42:44 +01:00
Dillon-Brown
32ca35db09 method_argument_space 2018-07-16 16:17:49 +01:00
Dillon-Brown
b772c8f942 indentation_type 2018-07-16 02:52:25 +01:00
Dillon-Brown
840ad0f5c0 visibility_required 2018-07-13 06:54:51 +01:00
Dillon-Brown
6caa071e62 no_spaces_inside_parenthesis 2018-07-12 15:44:45 +01:00
Dillon-Brown
68f69400bc braces 2018-07-12 11:40:27 +01:00
Dillon-Brown
4775b14953 function_declaration 2018-07-12 11:20:31 +01:00
Daniel Samson
9a569b2fca
Merge pull request from Dillon-Brown/psr-2-12
PSR2 - switch case space
2018-07-11 15:11:10 +01:00
Daniel Samson
3dcd0c8b42
Merge pull request from Dillon-Brown/psr-2-2
PSR2 - elseif
2018-07-10 11:42:15 +01:00
Dillon-Brown
af2f574e5e switch_case_space 2018-06-25 20:01:37 +01:00
Dillon-Brown
510c4549ff PSR2 - elseif 2018-06-21 21:22:45 +01:00
Dillon-Brown
835a46058a PSR2 - class_definition 2018-06-21 21:05:18 +01:00
p.ernst
6d32119b3d Clear an additional field to make sure filenames are forgotten on delete 2018-05-21 12:10:16 +01:00
Gyula Madarasz
f067c66374 Merge branch 'hotfix' into hotfix-fixing-tests 2018-04-12 17:24:42 +01:00
Gyula Madarasz
b20712745a fixing NoteTest 2018-04-05 14:49:21 +01:00
Dillon-Brown
efb0f10cf6 Merge branch 'hotfix-7.9.x' into hotfix
# Conflicts:
#	include/utils.php
#	modules/Configurator/Configurator.php
#	suitecrm_version.php
2018-03-29 12:37:06 +01:00
Dillon-Brown
1fecacbef8 Merge branch 'hotfix-7.8.x' into hotfix-7.9.x
# Conflicts:
#	install/language/en_us.lang.php
#	modules/AOR_Conditions/language/en_us.lang.php
#	modules/AOR_Reports/aor_utils.php
#	modules/AOR_Reports/tpls/report.tpl
#	modules/Emails/Email.php
#	modules/Emails/javascript/ajax.js
#	modules/InboundEmail/language/en_us.lang.php
#	suitecrm_version.php
2018-03-29 12:32:55 +01:00
Daniel Samson
8dbde75dd7
Merge pull request from PedroErnst/fix/4351-notes-contacts-relation
Fix/4351 notes contacts relation
2018-03-27 16:16:27 +01:00
Dillon Brown
8f2ad588d9 Merge branch 'hotfix' into develop
# Conflicts:
#	data/SugarBean.php
#	include/ListView/ListView.php
#	include/ListView/ListViewSmarty.php
#	include/SugarPHPMailer.php
#	install/install_utils.php
#	modules/Administration/PasswordManager.php
#	modules/Administration/UpgradeAccess.php
#	modules/Contacts/Contact.php
#	modules/SecurityGroups/SecurityGroup.php
#	themes/Suite7/css/colourSelector.php
#	themes/Suite7/css/style.css
#	themes/SuiteP/css/listview.scss
#	themes/SuiteR/css/style.css
2018-02-14 17:43:21 +00:00