Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - SMS - Integración inicial del plugin de Seven para el envío de SMS #182

Open
wants to merge 119 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
34ec152
Initial commit
enricsinergia Apr 2, 2024
1702d1f
missing file
enricsinergia Apr 2, 2024
a9bd901
add panel to views
enricsinergia Apr 2, 2024
5071205
add panel to views
enricsinergia Apr 2, 2024
524d77b
Merge branch 'feature/sevenSmsModules' of github.com:SinergiaTIC/Sine…
enricsinergia Apr 2, 2024
a76040b
restoring seven files instead of Stic
enricsinergia Apr 2, 2024
a5898df
move Account literals to seven specific files
enricsinergia Apr 3, 2024
8f920bf
move Contact literals to seven specific files
enricsinergia Apr 3, 2024
e152199
move Employee literals to seven specific file
enricsinergia Apr 3, 2024
a38f2f5
move Leads literals to seven specific file
enricsinergia Apr 3, 2024
653f563
Move Administration literals to seven specific file
enricsinergia Apr 3, 2024
65864c9
rename administration file
enricsinergia Apr 3, 2024
ae9c1fb
rename AOW_Actions Lang files
enricsinergia Apr 3, 2024
5a40d54
email template used instead of text on sending SMS fromWK action and/…
enricsinergia Apr 9, 2024
3def7b3
Messages Module
enricsinergia May 9, 2024
fff55e6
Show stic_messages on Contact's subpanel
enricsinergia Jun 13, 2024
7648f48
merge conflicts
enricsinergia Jun 13, 2024
b6f0875
Adding modal window (WIP)
enricsinergia Jul 8, 2024
b1ec816
Using screen text (from template or not) to generate definitive text …
enricsinergia Jul 8, 2024
d39c967
Using screen text (from template or not) to generate definitive text …
enricsinergia Jul 8, 2024
27170f4
Minor changes on compose & edit views
enricsinergia Jul 9, 2024
c6c360d
Retrieving phone when parent changed or added
enricsinergia Jul 9, 2024
a205bae
getting parent phone
enricsinergia Jul 9, 2024
b777d01
cleaning....
enricsinergia Jul 9, 2024
ec9d3ee
SugarWidget created to create messages renamed
enricsinergia Jul 10, 2024
94ac0ac
Hide leftover buttons on modal view
enricsinergia Jul 10, 2024
a1c21e7
Loading js via JSGrouping instead of view.detail.php
enricsinergia Jul 10, 2024
e0539f9
Phone also filled on accounts pop-up
enricsinergia Jul 10, 2024
3bf5b80
Added Mesages to Accounts
enricsinergia Jul 11, 2024
8b6bc63
Refactoring Seven configuration
enricsinergia Jul 11, 2024
38eedd3
Cleaning...
enricsinergia Jul 11, 2024
a4459cd
Cleaning...
enricsinergia Jul 11, 2024
cb84590
Seven popup removed and compose view used instead
enricsinergia Jul 12, 2024
52cecf3
Added mass send messages to Contacts
enricsinergia Jul 17, 2024
2fbaaa2
Removed extra buttons from pop-up
enricsinergia Jul 17, 2024
7638ede
Merge branch 'develop' into feature/sevenSmsModules
enricsinergia Jul 17, 2024
cd291cc
Mass send on contact and minor corrections
enricsinergia Jul 19, 2024
d082462
Removing seven plugin
enricsinergia Jul 19, 2024
5835f83
Supress workflow action. Substituted by std action: create record (st…
enricsinergia Jul 19, 2024
6332889
New EMailTemplate type
enricsinergia Jul 22, 2024
cb603da
Cleaning and adding functionality to accounts, leads and employees
enricsinergia Jul 23, 2024
be5e50e
Show icon
enricsinergia Jul 23, 2024
939b9d1
Show icon at phone fields
enricsinergia Jul 24, 2024
84ddfc7
Field status
enricsinergia Jul 25, 2024
01680b9
Preparation to allow other message providers
enricsinergia Jul 25, 2024
8ccef5c
Hide html section on EmailTEmplates detail view when only text checke…
enricsinergia Jul 25, 2024
648dc79
Managing return errors and draft messages
enricsinergia Jul 25, 2024
f89e516
Cleaning the modal
enricsinergia Jul 29, 2024
0b21656
status can only be edited when in draft
enricsinergia Jul 29, 2024
ba694f3
Detction of detailview improved
enricsinergia Jul 29, 2024
0c603b7
Hiding parent when in bulk action
enricsinergia Jul 29, 2024
c1dd186
Retry action
enricsinergia Jul 30, 2024
4143a9c
Limiting parent type list & status mass update forbidden
enricsinergia Jul 30, 2024
82cc9b6
JS loaded only on interested modules and not through JSGrouping
enricsinergia Jul 30, 2024
6819c53
Config parameters on stic settings
enricsinergia Jul 30, 2024
1047da3
Feature must be disabled by default
enricsinergia Jul 30, 2024
51cefd9
Minor correction
enricsinergia Jul 30, 2024
d15f098
Message icon is only showed at Contacts & cia if the module is enabled
enricsinergia Jul 30, 2024
10fdf55
Delete Seven configuration section
enricsinergia Jul 31, 2024
0ed4435
Cleaning
enricsinergia Jul 31, 2024
80ab8b8
Supress seven modules
enricsinergia Jul 31, 2024
8664199
Cleaning seven modules
enricsinergia Jul 31, 2024
2a00251
Cleaning
enricsinergia Jul 31, 2024
65baa32
Cleaning email residues
enricsinergia Jul 31, 2024
9750b15
Button to create message hidden if module not active
enricsinergia Aug 1, 2024
d590ada
Helper interface defined
enricsinergia Aug 1, 2024
6155eb5
Set limit to number of messages on bulk actions
enricsinergia Aug 1, 2024
3957a86
Cleaning view.list on contacts, Accounts, ....
enricsinergia Aug 2, 2024
d48cc7f
Bulk button centralized + configurable number of messages
enricsinergia Aug 2, 2024
1f13bc1
Added trait to detail views, so they also have the getMessagesLimit f…
enricsinergia Sep 2, 2024
86a48ee
Get correct default sender
enricsinergia Sep 3, 2024
d470118
check if namesList is defined (only exists on mass send)
enricsinergia Sep 3, 2024
e74618b
Workflow action added
enricsinergia Sep 9, 2024
8826715
Setting corrected
enricsinergia Sep 9, 2024
680506f
get_stic_messages function relocated
enricsinergia Sep 9, 2024
7613996
INSERT vs REPLACE
enricsinergia Sep 9, 2024
780e56c
Minor changes
enricsinergia Sep 9, 2024
5fa79c4
Minor corrections
enricsinergia Sep 9, 2024
d2265b6
Minor correction & cleanup
enricsinergia Sep 9, 2024
a7c6021
Changing email to phone where appropiate
enricsinergia Sep 9, 2024
cbbaae4
Setting name corrected
enricsinergia Sep 9, 2024
2571ed9
Minor fixes & cleanup
enricsinergia Sep 10, 2024
1ef1f6e
Minor fix
enricsinergia Sep 11, 2024
e7e80ec
Comments added
enricsinergia Sep 13, 2024
403b21f
Reverting unnecessary change
enricsinergia Sep 13, 2024
ffe8293
Clean up
enricsinergia Sep 13, 2024
fc1a317
Reverting unnecessary change
enricsinergia Sep 13, 2024
cd62502
Reverting unnecessary change
enricsinergia Sep 13, 2024
e03de1e
Clean up
enricsinergia Sep 13, 2024
b3dd22a
Encapsulating functions into a class to avoid names collision
enricsinergia Sep 13, 2024
3f4fb85
Clean up
enricsinergia Sep 18, 2024
9f38a58
Additional details reviewed
enricsinergia Sep 18, 2024
91a162d
Mass send
enricsinergia Sep 26, 2024
025a807
License review & cleanup
enricsinergia Sep 26, 2024
b132a24
Removed incorrect file
enricsinergia Sep 26, 2024
7631e09
Removing global variable
enricsinergia Sep 27, 2024
3782f02
Removing incorrect file
enricsinergia Sep 27, 2024
d592608
Merge develop
enricsinergia Sep 27, 2024
7ce58e7
Minor fix
enricsinergia Sep 27, 2024
92189f0
Icons updated
enricsinergia Sep 27, 2024
1fe19f7
Icons updated
enricsinergia Sep 27, 2024
11f0a21
Merge branch 'feature/sevenSmsModules' of github.com:SinergiaTIC/Sine…
enricsinergia Sep 27, 2024
37c5cdd
Corrected file name
enricsinergia Sep 27, 2024
453b168
JS debugger suppressed
enricsinergia Sep 27, 2024
611e730
Revert file
enricsinergia Sep 27, 2024
08e04db
Parent_type on mass sends was being lost
enricsinergia Oct 4, 2024
30d0160
Compose view is no longer called with GET but with POST
enricsinergia Oct 4, 2024
a720034
Minor correction
enricsinergia Oct 4, 2024
edeb6f0
Minor corrections
enricsinergia Oct 4, 2024
01cf595
Minor correction
enricsinergia Oct 4, 2024
d5a491e
Moved function from trait to Utils
enricsinergia Oct 17, 2024
2b17d2e
Merge branch 'develop' into feature/sevenSmsModules
enricsinergia Oct 28, 2024
aa28c60
remove of check_STic_messages requires
enricsinergia Oct 28, 2024
4b1c9b6
Action rename: from createMessage to sendMEssage
enricsinergia Oct 31, 2024
9a61e29
Comments added to utils functions
enricsinergia Oct 31, 2024
674d907
Error corrections
enricsinergia Nov 11, 2024
0e470c5
Error correction
enricsinergia Nov 11, 2024
e23a427
Error correction
enricsinergia Nov 11, 2024
fec253b
Merge branch 'develop' into feature/sevenSmsModules
enricsinergia Jan 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
INSERT vs REPLACE
  • Loading branch information
enricsinergia committed Sep 9, 2024
commit 76139966cd4c1c217bb6c2ce6d4feb04213ff51d
2 changes: 1 addition & 1 deletion SticUpdates/Migrations/ca/20240730_feature_sms.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INSERT INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
REPLACE INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
('652c33e1-522e-4f06-8a66-755d05a318e6', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_ACTIVE', '0', "0 indica que no s'han d'enviar missatges. 1 indica que s'han d'enviar missatges."),
('d9f0118c-b752-444d-9057-456b18f9f360', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_API_KEY', 'XXXXX', "Clau per connectar amb Seven. S'obté al panell de control de Seven."),
('c8d720bd-2c7b-47a6-98ce-9664529559ca', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_SENDER', '<ORGANITZACIÓ>', "Nom que apareixerà com a remitent en els missatges enviats"),
2 changes: 1 addition & 1 deletion SticUpdates/Migrations/en/20240730_feature_sms.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INSERT INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
REPLACE INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
('652c33e1-522e-4f06-8a66-755d05a318e6', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_ACTIVE', '0', "0 means no messages will be sent. 1 means that messages will be sent."),
('d9f0118c-b752-444d-9057-456b18f9f360', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_API_KEY', 'XXXXX', "Key to connect with SEVEN. It is generated at Seven dashboard."),
('c8d720bd-2c7b-47a6-98ce-9664529559ca', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_SENDER', '<ORGANITZACIÓ>', "Sender name that will be shown on messages sent"),
4 changes: 2 additions & 2 deletions SticUpdates/Migrations/es/20240730_feature_sms.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INSERT INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
REPLACE INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
('652c33e1-522e-4f06-8a66-755d05a318e6', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_ACTIVE', '0', "0 indica que no se enviarán mensajes. 1 indica que s´q se enviarán mensajes."),
('d9f0118c-b752-444d-9057-456b18f9f360', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_API_KEY', 'XXXXX', "Clave para conectar con Seven. Se obtiene en el panel de control de Seven."),
('c8d720bd-2c7b-47a6-98ce-9664529559ca', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_SENDER', '<ORGANITZACIÓ>', "Nombre que aparecerá como remitente en los mensajes enviados"),
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '10', "Nñumero máximo de mensajes permitidos en envío masivo");
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '10', "Número máximo de mensajes permitidos en envío masivo");
4 changes: 2 additions & 2 deletions SticUpdates/Migrations/gl/20240730_feature_sms.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INSERT INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
REPLACE INTO `stic_settings` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `deleted`, `assigned_user_id`, `type`, `name`, `value`, `description`) VALUES
('652c33e1-522e-4f06-8a66-755d05a318e6', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_ACTIVE', '0', "0 indica que no se enviarán mensajes. 1 indica que s´q se enviarán mensajes."),
('d9f0118c-b752-444d-9057-456b18f9f360', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_API_KEY', 'XXXXX', "Clave para conectar con Seven. Se obtiene en el panel de control de Seven."),
('c8d720bd-2c7b-47a6-98ce-9664529559ca', NOW(), NOW(), '1', '1', 0, '1', 'SEVEN', 'SEVEN_SENDER', '<ORGANITZACIÓ>', "Nombre que aparecerá como remitente en los mensajes enviados"),
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '10', "Nñumero máximo de mensajes permitidos en envío masivo");
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '10', "Número máximo de mensajes permitidos en envío masivo");