- Import language languageFacade into logout component
- Add logout-link-model.ts
- Add logout-model.ts
- Update the logout component HTML to use an async pipe
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
- Add configurable exclusions by module / action on the backend
-- Add ClassicViewRoutingExclusionsHandler to grab these from legacy
-- Expose these as system configs to the frontend
- Update redirect check to classic view
-- Do not re-direct when same route (example, for listview filtering)
-- Do not re-direct when route is excluded
-- Do not re-direct when not able to convert route
- Update unit tests
- Replace hardcoded labels with translations
- Replace hardcoded html with dynamic list
- Add router links to related create views.
- Fix wrong usage of div instead of ul
- Add current module and action to AppState
- Calculate current module and action in BaseModuleResolver
-- Add logic to show current module as active on
--- import and find duplicates
- Update legacy handler method to retrieve available modules
-- Also send invisible modules, to
--- Allow to display invisible modules as the selected module
-- Update module name mape
- Retrieve number of navbar items from backed
- Fix grouped tab links
- Simplify navbar abstract by simplifying parameters
-- passing language map instead of individual language
-- passing navigation object instead of individual parts
- Create smaller components for repeated parts of navbar
-- grouped-menu-item
-- menu-item
-- menu-item-link
-- menu-item-list
-- home-menu-item
-- home-menu-recently-viewed
- Removing "jsdoc/no-types" from eslint
-- To avoid conflicts with jsdoc/require-param-type
- Implement UserChecker to check user deletion status on pre/post auth.
- Modify LoginFormAuthenticator to use Symfony/Security to fetch user data.
- Add Security Exceptions: UserDeletedException, UserNotFoundException.
- Set the security firewall to run the UserChecker.
- Update User Entity with deleted getter.
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
- Add login auth guard
-- Check if session is active on front end, if so go to home page
-- Check if session is active on backed, if so go to home page
-- Otherwise stay on login
- Add loaded flag to AppStateFacade to:
-- Know if the page has already been loaded
-- Avoid doing an extra request to the backed if we logged out on the frontend
- Enable angular router onSameUrlNavigation to:
-- Allow refreshing pages
-- Properly updating url when trying to go from home to login, which goes back to home
- Check session when moving between classic views
-- Update backend session-status entry point to also check legacy session
- Check if classic view iframe was re-directed to login page
- Logout user in the above
- Add conditional redirect to auth service logout
- Add key based loading to fix issues with loading on logout.
- Update jasmine tests
- Add button-loading directive to update button according to loading state
-- Add ability to listen to AppStateFacade loading state
-- Add ability to listen to loading input from parent component
- Add jasmine unit tests
- Fix action-name-mapper jasmine unit tests
- Add legacy handler to access RouteConverter
- Add legacy handler to access ModuleNameMapper
- Add legacy handler to access ActionNameMapper
- Remove action and module name maps from Suite8 side
- Update frontend route converter to check for suite 8 routes
-- When link is a suite 8 route does not convert
- Add LegacyScopeState to allow for nested legacy handler calls
-- Add abstract getHandlerKey to base LegacyHandler
-- Implement getHandlerKey on all legacy handlers
- Update legacy handler init and close methods to use scope state
-- Check if withing an already open legacy handler scope
- Move RouteConverter to legacy
- Move ModuleNameMapper to legacy
- Move ActionNameMapper to legacy
- Add smarty function to convert links
- Convert legacy links into Suite 8 links
-- Change mvc_utils::ajaxLink for most common links
-- Change ListViewGeneric links for list view links
-- Change DashletGenericDisplay for common dashlet links
- Listen to legacy non-view calls on the LegacyRedirectListener
- Add LegacyNonViewActionRedirectHandler to re-direct to legacy
-- Using 307 re-direction response to support post re-direction
- Add unit test for LegacyNonViewActionRedirectHandler
- Listen to legacy api calls on the LegacyRedirectListener
- Add LegacyApiRedirectHandler to re-direct to legacy endpoint
-- Using 307 re-direction response to support post re-direction
-- Using api_paths.yaml with the configuration with paths to check
- Setup API tests using codeception
-- Add helper methods to login in v4 and v8 API
- Add Api test to create account using v4 api
- Add Api test to create account using v8 api
- Add unit test for LegacyApiRedirectHandler
- Change Classic view component to use Iframe to render legacy view for specified url
- Add Iframe page change observer to detect page changes and route to appropriate view
-- Move legacy to suite8 route conversion to the front end
- Add Iframe resize observer to re-adjust the iframe size according to its contents
- Expose module and action name maps to the frontend within thee system configs
- Add unit and karma tests and ajdust existing ones
- Add floating to messages alert
- Make classic view resolver extend the base metadata resolver
- Move all front end calls to the default_module config to a single place
- Map default module name to frontend name in the legacy handler
- Add styling to display default logo and custom logo properly in desktop and responsive layouts
- Fix responsive layout for language
-- Adjust html
-- Adjust select css for login component
- Fix responsive layout for footer
- Add ability to fully start legacy app on legacy handlers
- Update Navbar and UserPreferences handler to start the legacy app after init
- Update Navbar and UserPreferences handler to implement the corresponding interfaces
-- Update corresponding Data providers to use the new interfaces
- Change Navbar legacy handler to take into account the tab configured preferences
-- based on the implementation used in Legacy SugarView
- Update UserPreferences to use the currently logged in user
-- remove hard coded user
-- get UserPreferences from the legacy User object instead of grabbing it directly from the db
- Add All entry to grouped tabs
- Adjust unit tests
- Catch missing exception
- Add extra exception handling on the backend and send error back to front end.
- Handler errors on the front-end and show message.
- Sets default cookie lifetime to use PHP.ini value.
- Adds bn-ng-idle to handle idle user.
- Sets default timeout to 3600 seconds to log the user out and redirect to the login page.
- Displays a warning message to the user on session timeout.
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
- Fix: items still being displayed when navigation cache is cleared
- Fix: duplicate entries were added to the more dropdown
- Move the ready checks to the navbar abstract
- Move the display type decision logic to the navbar abstract
- Add ready method to be easier to check if dependencies are loaded
- Cleanup
-- add js doc
-- format code
- Check Suite7 session on authenticated endpoints
-- Decorate Security Stage for Graphql
-- Decorate DenyAccessListener for REST
-- Add legacy handler method to check the suite 7 session
- Add Unit tests
- Add LegacySessionLogoutHandler
-- Logout Legacy Suite session when Suite 8 is logged out
-- Configure handler to decorate SessionLogoutHandler
- Add logout to Authentication legacy handler
- Add AspectMock lib
- Add unit tests for LegacySessionLogoutHandler
- Rename unit test folders to be consistent with src.
-- Use the same pattern used in Suite 7
- Add ThemeImages Entity
- Add ThemeImages DataProvider
- Add ThemeImage Service
-- Retrieves the list of images for a given theme
- Add ThemeImagesFinder
-- looks up for images inside a given path
-- Add configuration to specify theme image paths
-- Add configuration to specify supported image types
- Add unit tests
- Add theme-images angular facade
- Update base metadata resolver to load theme images
-- Move UserPreferences loading ot base metadata resolver
-- Loaded theme images after user preference and config loading
--- uses default_theme, if user preferences weren't loaded
-- Add jasmine tests
- Add scrm-image component
-- Add jasmine tests
- Replace usages of svg-icon with image component
-- Fix jasmine tests
- Adjust UserPreference interface to match the current data
- Add Process entity
- Add ProcessDataPersister to allow submitting process requests
- Add Process Collection and Item Data providers
- Add ProcessHandlerInterface to be implemented by process handlers
- Add ProcessHandlerRegistry to key based access to process handlers
-- Add tagged and key based service collection injection
--- to auto inject services implementing the ProcessHandlerInterface
--- Auto tag all services implementing the ProcessHandlerInterface
- Add angular service for processes
- Add Authentication check before running process
- Add GQL record mutation
- Make language facade loading dynamic to load given types of strings
-- Add cache per type of language strings
-- Add configuration per type of language strings
-- Enable fetching modStrings, appStrings, appListStrings
- Expose a stream for each type of strings
- Make BaseMetadataResolver language loading dynamic based on router configuration
-- Add navigation loading
-- add string loading, depending on configuration
-- Add default configuration: Loads SystemConfigs, Navigation and all Languages
-- Add ability to override default configuration on router
- Configure BaseMetadata resolver in router
- Only use default language if it there is no active language
- Update login component to cope with changes to language facade
- Refactor: move existing facades to the facades folder
- Re-write navigation facade to use reactive facades approach
- Update navbar api to cope with with api contract
-- Add modules entry
-- Move moduleSubmenus to modules entry
-- Disable collection query on graphql
-- Update frontend to cope with these changes
- Update navbar component
-- Cleanup component
-- Fetch navigation and languages reactively
-- Update navbar menu item creation with new navigation structure
-- Fix html for loading icons
-- Fix html for regular module tab menu
- Translate navbar items
-- Add translations on navbar menu items creation
- Add karma tests
- Adjust navbar to properly render links
-- Add extra query params to submenu in API
-- Adjust LegacyHandler to retrieve the extra query params
-- Adjust angular component