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 - Administración del CRM - Creación módulo Monitorización #211
Open
ainaraRT
wants to merge
107
commits into
develop
Choose a base branch
from
feature/TrackerModule
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
107 commits
Select commit
Hold shift + click to select a range
d370306
initial commit
ainaraRT eafadb7
add icon
ainaraRT 57e5506
search and list view
ainaraRT 594ba4b
language
ainaraRT 10fb7ec
language
ainaraRT ceb2303
return action
ainaraRT e717e7e
Merge branch 'develop' into feature/TrackerModule
ainaraRT 35249a5
icon update
ainaraRT d8fc1b8
change searchs
ainaraRT 221e9c0
track login and logout
ainaraRT 3e8908d
update access tracker
ainaraRT caf32b6
listviewdef
ainaraRT 7a96420
wip
ainaraRT 978cb2e
custom language
ainaraRT 20295b2
tracker user vardef
ainaraRT 3698a65
custom view list
ainaraRT 578f368
track deleted records
ainaraRT ca2d24a
update language
ainaraRT ce993c5
order date modified by asc
ainaraRT bb53400
track modified and created records
ainaraRT cc7ab94
see the module if the user is admin
ainaraRT 8863945
searchdef and listviewdef
ainaraRT 513a513
date_modified searchdef and link false to item_summary
ainaraRT e1c6659
tracker_user and modified vardefs
ainaraRT cc39e9e
tracker_user with user_name
ainaraRT e2f3c37
wip
ainaraRT 143efc5
current user only with user_id
ainaraRT 81a9923
user actions list language
ainaraRT fbab4de
wip
ainaraRT 36c9ba8
itmer_summary not empty
ainaraRT 13d4013
accessed only by administrators
ainaraRT 11f6592
delete params and access by admin from the view list
ainaraRT fab16f5
menu in extension
ainaraRT 45aba2d
Merge remote-tracking branch 'origin/develop' into feature/TrackerModule
ainaraRT a619241
update icons
ainaraRT bc45dad
track the login and the logout of the users
ainaraRT 7e20f36
wip
ainaraRT 13ad5b0
wip
ainaraRT 204b20b
wip
ainaraRT a2b10a8
remove unused files
ainaraRT 74bae66
remove logic hooks
ainaraRT 7e3dc01
remove tracker_user
ainaraRT e1b9125
sticvardefs
ainaraRT beacd39
inline edit false
ainaraRT 928c39a
save, update and deleted records
ainaraRT 9283e4d
detailview records
ainaraRT de26d55
change metadata to modules
ainaraRT 2d6bcdf
original vardef
ainaraRT 48fdd57
remove view list
ainaraRT a44f8f6
wip
ainaraRT d4f579b
wip
ainaraRT 971ce6b
corrected type assigned_user
ainaraRT 3373483
track the bean when is deleted
ainaraRT 6dd1d09
set when is visible the view
ainaraRT 4ba7a7b
track_view with deleted action
ainaraRT 5a8abe2
update actions language
ainaraRT b0ad6b0
inline edit false vardefs and action type enum
ainaraRT bfd748b
login and logout of the user
ainaraRT 05cf2cf
wip
ainaraRT 2fc67ab
wip
ainaraRT bc011a7
comments in the code
ainaraRT 3dec94d
view list with the mass update false
ainaraRT 0116168
Hide Quick Edit Pencil
ainaraRT 28a6910
module in administration
ainaraRT 674cc12
vardefs in modules
ainaraRT 1b9364e
search assigned user
ainaraRT b94342b
change user to current_user
ainaraRT d18da2f
change label and type of the assigned user
ainaraRT 79cadb9
remove monitor_id from the list view and search def
ainaraRT c96ead8
remove 'visible' value to track the login and logout without removing…
ainaraRT 2b29cab
Sort by date_modified in ASC
ainaraRT e25c220
comments added and placed correctly
ainaraRT 83de123
translate into Spanish
ainaraRT 93f6d32
VardefManager assignable anda basic
ainaraRT 59e99a5
metric assigned_user_id in tracker_monitor
ainaraRT 29e6d5a
remove or change to assigned_user_id
ainaraRT 17ec701
Improving translation
jalbaiges ed35e5f
Improving translation
jalbaiges 4198029
Improving translation
jalbaiges 6b70ec5
Remove doubled lines
jalbaiges 62b6c9f
Improving translation
jalbaiges d4d2c2b
Improving translation
jalbaiges 24e1500
Minor fix
jalbaiges 79bbaf2
Improving translation
jalbaiges de74463
Improving translation
jalbaiges b4cdcf2
Improving translation
jalbaiges 3fcf2db
Minor fix
jalbaiges 71aa300
Minor fix
jalbaiges 38caf9c
Improving translation
jalbaiges bf56901
Improving translation
jalbaiges 9d74260
Improving translation
jalbaiges 67989ce
Improving translation
jalbaiges b8e209f
LBL review
jalbaiges 075139e
Improving translation
jalbaiges f364e10
Improving translation
jalbaiges 0545c4e
Minor fix
jalbaiges 1480db0
Minor fix
jalbaiges 00d9fff
Improving translation
jalbaiges cda5940
Correct confusing label
jalbaiges 4ab40dd
Merge remote-tracking branch 'origin/develop' into feature/TrackerModule
ainaraRT eb0ca09
themes updated
ainaraRT 7818e5b
some fixes
ainaraRT 6eae38a
redo sugarview change of the user_id
ainaraRT 53a9798
excluding a module which is not understandable
ainaraRT 07c2b2b
remove user_id and added link false to item_id
ainaraRT c45c4be
assigned_user_name inline_edit to false
ainaraRT ee7936e
Tracker prune interval for the Scheduler
ainaraRT 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
40 changes: 40 additions & 0 deletions
40
custom/Extension/modules/Administration/Ext/Administration/SticTrackersAdmin.php
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,40 @@ | ||
<?php | ||
/** | ||
* This file is part of SinergiaCRM. | ||
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM. | ||
* Copyright (C) 2013 - 2023 SinergiaTIC Association | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License along with | ||
* this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301 USA. | ||
* | ||
* You can contact SinergiaTIC Association at email address [email protected]. | ||
*/ | ||
|
||
$admin_option_defs = array(); | ||
$admin_option_defs['Administration']['trackers'] = [ | ||
'Trackers', | ||
'LBL_TRACKERS_TITLE', | ||
'LBL_TRACKERS_DESCRIPTION', | ||
'./index.php?module=Trackers&action=index', | ||
'module-trackers' | ||
]; | ||
|
||
// Search inside the arrays of the admin_group_header for the section in which we want to add our new subsection, also getting its key | ||
foreach ($admin_group_header as $key => $section) { | ||
if ($section[0] === 'LBL_ADMIN_TOOLS_TITLE' && isset($section[3])) { | ||
// We add the subsection to the end of the defined array | ||
$admin_group_header[$key][3]['Administration'] = array_merge($admin_group_header[$key][3]['Administration'], $admin_option_defs['Administration']); | ||
break; | ||
} | ||
} |
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
23 changes: 23 additions & 0 deletions
23
custom/Extension/modules/Trackers/Ext/Language/ca_ES.SticLang.php
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,23 @@ | ||
<?php | ||
/** | ||
* This file is part of SinergiaCRM. | ||
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM. | ||
* Copyright (C) 2013 - 2023 SinergiaTIC Association | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License along with | ||
* this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301 USA. | ||
* | ||
* You can contact SinergiaTIC Association at email address [email protected]. | ||
*/ | ||
$mod_strings['LNK_LIST'] = 'Mostra el Monitoratge'; |
23 changes: 23 additions & 0 deletions
23
custom/Extension/modules/Trackers/Ext/Language/en_us.SticLang.php
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,23 @@ | ||
<?php | ||
/** | ||
* This file is part of SinergiaCRM. | ||
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM. | ||
* Copyright (C) 2013 - 2023 SinergiaTIC Association | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License along with | ||
* this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301 USA. | ||
* | ||
* You can contact SinergiaTIC Association at email address [email protected]. | ||
*/ | ||
$mod_strings['LNK_LIST'] = 'View Trackers'; |
23 changes: 23 additions & 0 deletions
23
custom/Extension/modules/Trackers/Ext/Language/es_ES.SticLang.php
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,23 @@ | ||
<?php | ||
/** | ||
* This file is part of SinergiaCRM. | ||
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM. | ||
* Copyright (C) 2013 - 2023 SinergiaTIC Association | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License along with | ||
* this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301 USA. | ||
* | ||
* You can contact SinergiaTIC Association at email address [email protected]. | ||
*/ | ||
$mod_strings['LNK_LIST'] = 'Mostrar la Monitorización'; |
23 changes: 23 additions & 0 deletions
23
custom/Extension/modules/Trackers/Ext/Language/gl_ES.SticLang.php
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,23 @@ | ||
<?php | ||
/** | ||
* This file is part of SinergiaCRM. | ||
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM. | ||
* Copyright (C) 2013 - 2023 SinergiaTIC Association | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License along with | ||
* this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301 USA. | ||
* | ||
* You can contact SinergiaTIC Association at email address [email protected]. | ||
*/ | ||
$mod_strings['LNK_LIST'] = 'Mostrar la Monitorización'; |
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,49 @@ | ||
<?php | ||
/** | ||
* | ||
* SugarCRM Community Edition is a customer relationship management program developed by | ||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. | ||
* | ||
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. | ||
* Copyright (C) 2011 - 2018 SalesAgility Ltd. | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation with the addition of the following permission added | ||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK | ||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY | ||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | ||
* details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License along with | ||
* this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301 USA. | ||
* | ||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, | ||
* SW2-130, Cupertino, CA 95014, USA. or at email address [email protected]. | ||
* | ||
* The interactive user interfaces in modified source and object code versions | ||
* of this program must display Appropriate Legal Notices, as required under | ||
* Section 5 of the GNU Affero General Public License version 3. | ||
* | ||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3, | ||
* these Appropriate Legal Notices must retain the display of the "Powered by | ||
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not | ||
* reasonably feasible for technical reasons, the Appropriate Legal Notices must | ||
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". | ||
*/ | ||
|
||
if (!defined('sugarEntry') || !sugarEntry) { | ||
die('Not A Valid Entry Point'); | ||
} | ||
|
||
global $mod_strings, $app_strings, $sugar_config; | ||
|
||
if (ACLController::checkAccess('Trackers', 'list', true)) { | ||
ManuSinergiaCRM marked this conversation as resolved.
Show resolved
Hide resolved
|
||
$module_menu[] = array('index.php?module=Trackers&action=index', $mod_strings['LNK_LIST'], 'View', 'Trackers'); | ||
} |
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.
¿Para qué se utiliza esta condición?
isset($section[3])
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.
Para comprobar que existe el array donde recoge la lista a mostrar del Admin Tools