forked from salesagility/SuiteCRM
-
Notifications
You must be signed in to change notification settings - Fork 2
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
enricsinergia
wants to merge
118
commits into
develop
Choose a base branch
from
feature/sevenSmsModules
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
34ec152
Initial commit
enricsinergia 1702d1f
missing file
enricsinergia a9bd901
add panel to views
enricsinergia 5071205
add panel to views
enricsinergia 524d77b
Merge branch 'feature/sevenSmsModules' of github.com:SinergiaTIC/Sine…
enricsinergia a76040b
restoring seven files instead of Stic
enricsinergia a5898df
move Account literals to seven specific files
enricsinergia 8f920bf
move Contact literals to seven specific files
enricsinergia e152199
move Employee literals to seven specific file
enricsinergia a38f2f5
move Leads literals to seven specific file
enricsinergia 653f563
Move Administration literals to seven specific file
enricsinergia 65864c9
rename administration file
enricsinergia ae9c1fb
rename AOW_Actions Lang files
enricsinergia 5a40d54
email template used instead of text on sending SMS fromWK action and/…
enricsinergia 3def7b3
Messages Module
enricsinergia fff55e6
Show stic_messages on Contact's subpanel
enricsinergia 7648f48
merge conflicts
enricsinergia b6f0875
Adding modal window (WIP)
enricsinergia b1ec816
Using screen text (from template or not) to generate definitive text …
enricsinergia d39c967
Using screen text (from template or not) to generate definitive text …
enricsinergia 27170f4
Minor changes on compose & edit views
enricsinergia c6c360d
Retrieving phone when parent changed or added
enricsinergia a205bae
getting parent phone
enricsinergia b777d01
cleaning....
enricsinergia ec9d3ee
SugarWidget created to create messages renamed
enricsinergia 94ac0ac
Hide leftover buttons on modal view
enricsinergia a1c21e7
Loading js via JSGrouping instead of view.detail.php
enricsinergia e0539f9
Phone also filled on accounts pop-up
enricsinergia 3bf5b80
Added Mesages to Accounts
enricsinergia 8b6bc63
Refactoring Seven configuration
enricsinergia 38eedd3
Cleaning...
enricsinergia a4459cd
Cleaning...
enricsinergia cb84590
Seven popup removed and compose view used instead
enricsinergia 52cecf3
Added mass send messages to Contacts
enricsinergia 2fbaaa2
Removed extra buttons from pop-up
enricsinergia 7638ede
Merge branch 'develop' into feature/sevenSmsModules
enricsinergia cd291cc
Mass send on contact and minor corrections
enricsinergia d082462
Removing seven plugin
enricsinergia 5835f83
Supress workflow action. Substituted by std action: create record (st…
enricsinergia 6332889
New EMailTemplate type
enricsinergia cb603da
Cleaning and adding functionality to accounts, leads and employees
enricsinergia be5e50e
Show icon
enricsinergia 939b9d1
Show icon at phone fields
enricsinergia 84ddfc7
Field status
enricsinergia 01680b9
Preparation to allow other message providers
enricsinergia 8ccef5c
Hide html section on EmailTEmplates detail view when only text checke…
enricsinergia 648dc79
Managing return errors and draft messages
enricsinergia f89e516
Cleaning the modal
enricsinergia 0b21656
status can only be edited when in draft
enricsinergia ba694f3
Detction of detailview improved
enricsinergia 0c603b7
Hiding parent when in bulk action
enricsinergia c1dd186
Retry action
enricsinergia 4143a9c
Limiting parent type list & status mass update forbidden
enricsinergia 82cc9b6
JS loaded only on interested modules and not through JSGrouping
enricsinergia 6819c53
Config parameters on stic settings
enricsinergia 1047da3
Feature must be disabled by default
enricsinergia 51cefd9
Minor correction
enricsinergia d15f098
Message icon is only showed at Contacts & cia if the module is enabled
enricsinergia 10fdf55
Delete Seven configuration section
enricsinergia 0ed4435
Cleaning
enricsinergia 80ab8b8
Supress seven modules
enricsinergia 8664199
Cleaning seven modules
enricsinergia 2a00251
Cleaning
enricsinergia 65baa32
Cleaning email residues
enricsinergia 9750b15
Button to create message hidden if module not active
enricsinergia d590ada
Helper interface defined
enricsinergia 6155eb5
Set limit to number of messages on bulk actions
enricsinergia 3957a86
Cleaning view.list on contacts, Accounts, ....
enricsinergia d48cc7f
Bulk button centralized + configurable number of messages
enricsinergia 1f13bc1
Added trait to detail views, so they also have the getMessagesLimit f…
enricsinergia 86a48ee
Get correct default sender
enricsinergia d470118
check if namesList is defined (only exists on mass send)
enricsinergia e74618b
Workflow action added
enricsinergia 8826715
Setting corrected
enricsinergia 680506f
get_stic_messages function relocated
enricsinergia 7613996
INSERT vs REPLACE
enricsinergia 780e56c
Minor changes
enricsinergia 5fa79c4
Minor corrections
enricsinergia d2265b6
Minor correction & cleanup
enricsinergia a7c6021
Changing email to phone where appropiate
enricsinergia cbbaae4
Setting name corrected
enricsinergia 2571ed9
Minor fixes & cleanup
enricsinergia 1ef1f6e
Minor fix
enricsinergia e7e80ec
Comments added
enricsinergia 403b21f
Reverting unnecessary change
enricsinergia ffe8293
Clean up
enricsinergia fc1a317
Reverting unnecessary change
enricsinergia cd62502
Reverting unnecessary change
enricsinergia e03de1e
Clean up
enricsinergia b3dd22a
Encapsulating functions into a class to avoid names collision
enricsinergia 3f4fb85
Clean up
enricsinergia 9f38a58
Additional details reviewed
enricsinergia 91a162d
Mass send
enricsinergia 025a807
License review & cleanup
enricsinergia b132a24
Removed incorrect file
enricsinergia 7631e09
Removing global variable
enricsinergia 3782f02
Removing incorrect file
enricsinergia d592608
Merge develop
enricsinergia 7ce58e7
Minor fix
enricsinergia 92189f0
Icons updated
enricsinergia 1fe19f7
Icons updated
enricsinergia 11f0a21
Merge branch 'feature/sevenSmsModules' of github.com:SinergiaTIC/Sine…
enricsinergia 37c5cdd
Corrected file name
enricsinergia 453b168
JS debugger suppressed
enricsinergia 611e730
Revert file
enricsinergia 08e04db
Parent_type on mass sends was being lost
enricsinergia 30d0160
Compose view is no longer called with GET but with POST
enricsinergia a720034
Minor correction
enricsinergia edeb6f0
Minor corrections
enricsinergia 01cf595
Minor correction
enricsinergia d5a491e
Moved function from trait to Utils
enricsinergia 2b17d2e
Merge branch 'develop' into feature/sevenSmsModules
enricsinergia aa28c60
remove of check_STic_messages requires
enricsinergia 4b1c9b6
Action rename: from createMessage to sendMEssage
enricsinergia 9a61e29
Comments added to utils functions
enricsinergia 674d907
Error corrections
enricsinergia 0e470c5
Error correction
enricsinergia e23a427
Error correction
enricsinergia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
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', 'MESSAGES', 'MESSAGES_SENDER', '<ORGANITZACIÓ>', "Nom que apareixerà com a remitent en els missatges enviats"), | ||
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '100', "Nombre màxim de missatges permesos en enviament massiu"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
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', 'MESSAGES', 'MESSAGES_SENDER', '<ACCOUNT>', "Sender name that will be shown on messages sent"), | ||
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '100', "Max number of messages allowed on bulk send"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
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', 'MESSAGES', 'MESSAGES_SENDER', '<ORGANIZACIÓN>', "Nombre que aparecerá como remitente en los mensajes enviados"), | ||
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '100', "Número máximo de mensajes permitidos en envío masivo"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
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', 'MESSAGES', 'MESSAGES_SENDER', '<ORGANIZACIÓN>', "Nombre que aparecerá como remitente en los mensajes enviados"), | ||
('64b1554a-cf95-423b-ae78-7f75951f3976', NOW(), NOW(), '1', '1', 0, '1', 'MESSAGES', 'MESSAGES_LIMIT', '100', "Número máximo de mensajes permitidos en envío masivo"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
¿En que casos se ha detectado que se debería ampliar la condición para la vista de detalle? Estas condiciones se llevan utilizando así desde hace tiempo en diferentes procesos y no hasta ahora no ha sido necesario.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si no me equivoco es en EmailTemplates. La vista detail se construye sin tpl y no sigue el estándar habitual.