Commit graph

121 commits

Author SHA1 Message Date
Jack Anderson
4e75b51c9a Remove extra labelKey from opportunity statistic 2024-12-11 08:56:13 +00:00
Clemente Raposo
249df53a04 Symfony 6.4 - Update default legacy session id 2024-08-21 18:06:15 +01:00
Clemente Raposo
af452b8e13 Symfony 6.4 - Update codeception recipe 2024-08-21 18:06:14 +01:00
Jack Anderson
32ccadbd89 Symfony 5.4 - Update Deprecated Security Code 2024-08-21 18:06:13 +01:00
Jack Anderson
5a03eeaf38 Symfony 5.3 - Swap deprecated SessionInterface with RequestStack 2024-08-21 18:06:13 +01:00
yunusyerli1
52a014da3d [Legacy] Change labelkey to Profile_Edit 2023-07-20 14:36:35 +01:00
Jack Anderson
0bff60cf40 Fix #61 - Add mapper for time format
- move all mapper files to new directory
- update test file to new directory
2022-09-29 10:26:54 +01:00
Clemente Raposo
d5104cd578 Remove deprecated spots module 2021-11-20 15:01:51 +00:00
Clemente Raposo
52dfb93be4 Fix api codeception tests 2021-11-09 12:42:03 +00:00
p.kumar
1d9a55aa56 Update sidebar chart on deleting records using bulk action menu in ListView 2021-04-26 20:19:07 +05:30
Jack Anderson
d8d776a1b8 Update Tests Copyright 2021-03-30 19:22:43 +01:00
Clemente Raposo
1d39952e87 Allow non mapped legacy module names
- Keep legacy module when not defined
- Adjust unit tests
2021-03-30 19:22:42 +01:00
Dillon-Brown
674af51eea Update test namespaces
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:42 +01:00
Dillon-Brown
3aed1df849 Move all entities to component folders
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:41 +01:00
Dillon-Brown
7044598f34 Move all legacy handlers to backend
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:41 +01:00
Dillon-Brown
1cab43c7d3 Rename src to backend
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:41 +01:00
Clemente Raposo
e68aae65c7 Add create view
- Add create view component and store
-- Extend record view store

- Add create view router configuration

- Add create save action
-- Allow re-redirecting after save
- Add create cancel action

- Add support to pre-fill create view with values
- Add default user to create view

- Update record view to
-- Allow disabling subpanels
-- Allow redirect query params
-- Allow setting initial view mode
-- Add support for create mode

- Add support for create mode in fields
-- defaults to edit mode
2021-03-30 19:22:40 +01:00
Clemente Raposo
4e78b1b8a6 Add convert lead action
- Add record action handler
- Add action configuration
- Add unit test
2021-03-30 19:22:40 +01:00
Dillon-Brown
3819445574 Symfony 5 Upgrade
- Bump min PHP reqs for symfony/security-bundle
- Rework session switching
- Fix deprecated logout listener

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:40 +01:00
Clemente Raposo
97da21c1fa Add grouped field definition handling
- Add field definition mappers
-- Allows to add mapper classes that map the resulting definition
-- Declare mappers in services definition
- Add support for defining grouped fields
-- Add grouped field definition mapper
- Map legacy style group fields to new format
-- Add legacy grouped field mapper
- Add View definition mappers
- Add default configuration for group field preset types
-- Configure address default config
--- Set default layout
--- Set default display
--- Set default labels
- Map Group field types like address
-- apply default values

- Add codeception unit tests
2021-03-30 19:22:37 +01:00
Clemente Raposo
09ce66e875 Add codeception unit tests for system config mappers 2021-03-30 19:22:37 +01:00
Dillon-Brown
06a6932496 Fix unit tests
- Update unit test bootstrap pathing
- Move new theme images to new legacy path
- Fix AccountsNewByMonthMock unit test warning
- Change startLegacyApp to follow the correct method signature

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:36 +01:00
Jack Anderson
e9b9819e7d Accounts Chart Implementation 2021-03-30 19:22:36 +01:00
Clemente Raposo
4f8d734e58 Fix DaysUntilDueTask statistic unit tests
- Tests failed due to difference in timezones conversion
2021-03-30 19:22:36 +01:00
Clemente Raposo
bfed5ae78e Fix editview metadata loading for Users module
- Properly load the legacy app and router
-- Fixes user module metadata loading
- Adjust unit tests
2021-03-30 19:22:36 +01:00
Clemente Raposo
af186a7013 Add RecordList FilterMappers
- Refactor LegacyFilterMapper to allow adding mappers per type
- Add date and date time mappers to convert to proper format
-- Api should receive fields in internal format
-- Legacy search expects user format
-- Convert to user format when calling legacy search

- Add multienum to correctly process criteria
-- Api search criteria receive an array of values
-- For other fields legacy expects just one value not an array
-- For multienum legacy expects an array of values
-- Add mapper to send array of values to legacy for multienums
2021-03-30 19:22:35 +01:00
j.anderson
004247656f Opportunities Chart Implementation 2021-03-30 19:22:35 +01:00
j.anderson
035762ff27 Activities and History Subpanel Changes 2021-03-30 19:22:35 +01:00
Clemente Raposo
bb19193aa1 Use sidebar widgets in list view
- Update list view folder to follow new structure
-- Move list view related components to list view folder
-- Move list view store to list view folder
-- Move list view adapters to list view folder

- Remove old implementation of list view charts
- Use sidebar widgets component

- Add support for declaring list view sidebar widgets
-- Replace ChartDefinitionProvider with ListViewSidebarWidgetDefinitionProvider
-- Add default configuration for list view sidebar widgets

- Add ListQueryDataHandler
-- Allows to easily get the list view query for the criteria set
-- Allows to override query parts and execute it

- Configure leads sidebar widget
- Add LeadsByStatusCount series statistic provider
-- Add unit tests

- Update unit tests
2021-03-30 19:22:35 +01:00
j.anderson
a778e0e504 Add Contracts Subpanel Implementation 2021-03-30 19:22:35 +01:00
j.anderson
6065c9c22a Campaign subpanel implementation 2021-03-30 19:22:35 +01:00
j.anderson
68a9e70345 Add quotes insight 2021-03-30 19:22:34 +01:00
j.anderson
4db1d03190 Tidy Invoice Subpanel Insight 2021-03-30 19:22:34 +01:00
j.anderson
65a1dd98b5 testing 2021-03-30 19:22:34 +01:00
j.anderson
9855c638c6 Invoice Subpanel implementation 2021-03-30 19:22:34 +01:00
j.anderson
adca306c93 Add Cases Subpanel Implementation 2021-03-30 19:22:34 +01:00
Dillon-Brown
2114e123d8 Implement skipped tests
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
Dillon-Brown
9dc999d5a5 Fix OpportunitySalesStageTimeSpanTest
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
Dillon-Brown
12c9bec2a1 Fix statistics unit tests
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:34 +01:00
j.anderson
420bd2fc85 Change datetime to date for events subpanel 2021-03-30 19:22:34 +01:00
j.anderson
9fdfb4c73d Add Contact Subpanel implementation 2021-03-30 19:22:34 +01:00
j.anderson
abb164315c Fix Test Files 2021-03-30 19:22:34 +01:00
Clemente Raposo
7477586d03 Send SubPanelActivitiesNextDate insight dates in db format
- Send dates in db format as expected by the frontend
- Fix unit tests
2021-03-30 19:22:34 +01:00
j.anderson
eb7ec59014 Add History Subpanel implementation 2021-03-30 19:22:34 +01:00
j.anderson
0d9c019b57 Add Activities Implementation 2021-03-30 19:22:34 +01:00
Clemente Raposo
09bcf1c871 Message component enhancements
- Adjust alert position
- Add ability to close when clicking in any part of the alert
- Add timer to auto-close success messages
-- Make timeout configurable through the backend
- Add fade in and fade out effects
- Add min width to alerts
- Add karma / jasmine tests
2021-03-30 19:22:34 +01:00
j.anderson
f57828ca69 Add event subpanel implementation 2021-03-30 19:22:33 +01:00
j.anderson
06a9cb9742 Add CasesPerAccount and CaseAccountDateEntered Statistics 2021-03-30 19:22:33 +01:00
Clemente Raposo
fca0b8c375 Add Configurable Record view actions
- Rename frontend bulk actions to async actions
- Adjust actions.adapter.ts to use recordview meta actions
-- Check type of action and if its async
-- Allow running async actions
-- Allow reloading page if flag sent from backend
- Add RecordActionDefinitionProvider
- Add record view default actions configuration
- Add DeleteRecordAction
- Add DuplicateRecordAction
- Adjust karma/jasmine tests
- Add codeception unit tests
- Rename options dropdown to actions
- Change action button group rendering
-- allow some items to always be expanded
-- float to the left on extra small screens
- Add record view specific screen size action limits
2021-03-30 19:22:33 +01:00
Clemente Raposo
69325626aa Add Opportunity Size Analysis statistic
- Add OpportunitiesForUser statistic
- Add OpportunitySizeAnalysis statistic
- Add PreparedStatementHandler
- Add number statistic builder method
- Add codeception unit tests
2021-03-30 19:22:33 +01:00