The current ngcp-csc message container has responsiveness issues,
so I am implementing a new solution using Ext.window.toast() class.
Change-Id: I1db6b2bce5b3f775c9914acaf33da12a2e84b277
- move all the hardcoded json in resources/data + add missing models
- create extandable core widgets with common configurations
Change-Id: I41641dc6f92645c44618bb218e065baaa42e7697
Upon inital load of app (with no previous localStorage stored), app
can not load due to missing languageSelected value. Fix this by
checking for and setting the localStorage value earlier in the load
sequence, inside a new initiLocalStorage.js file that is loaded
before main app.js file. Also move conflicting html objects to
renderers to prevent native JS methods from being operated on them
before they are defined.
Change-Id: I36766685e55dc69af3b7917ddedd5df10718d907
As agreed in last csc meeting, we are moving the widget sidebar to the
left side. Also removed all occurrences of missing whitespaces between
config key and value pairs (f.ex. xtype:'form'), and a couple of
beautify changes.
Change-Id: Ifcd39b5952472328af87db21d2bd8990d8f73636
Sass/css files need a cleanup to remove unnecessary code, remove
duplicates, and combine classes/create mixins if possible. Some
sass/css is left over from the theme we imported, and some was
used while developing, but not reverted later without cleanup.
Change-Id: Icb2cde2c544a18fb547742e9f93f932b41b3a593
Issue with navigation nothing being scrollable. It turns out this was
already partly fixed in previous responsive task by cvenusino.
After some investigation into current situation, removed scroll from
individual modules, as main container is set to "scrollable: true"
already.
Change-Id: I2f52ebce95138c5805f7c7553cea7749b80b0e87
Implement scaffolding for remaining ngcp-csc modules, with these
elements included:
> View
> View model
> View controller
> Sass
> Navigation tree
> Locales
> Responsive layout and white-box class
Change-Id: I45f2219faa1a67d38e3276096b5c6b4ac6bb3506
Extend ngcp-csc locales to have all the labels (and other obvious
text strings) in locales.js (no hardcoded texts), and make a cleanup
in case there are duplicates.
Change-Id: I5bcaacb740e5af2f469a37eb63944d3ad06bee0d
> For Call Barring and Fax Send modules, change text link buttons
with previous .link class to proper buttons
Imo, the remaining .link class style links in the app does not need
replacing with buttons, as their function is to link to either
redirect or change filter/listing.
Change-Id: Ie58a339e8f64f09f466ae2f11c164388cf2b9b40
> Initial scaffolding
> Basic styling to increase content textarea height
> Implement combobox for quality choices, with it's own store
> Locales values added
> Create controllers for form submit, reset, and enter keypress
> Implement textfield tooltips
Change-Id: Ibc136c2678ce1afaa032ccb720a3fcf7701632a7
Implement ngcp-csc fax spool module mockup with a listing in grid-
form of fax data, and create mockup data.
Change-Id: I6bc59a3eb506b9bd1ff908175aad899835a0aa9e
Add new Dockerfile and testrunner script to switch from PhantomJS
to Chromium for End-to-End tests.
Change-Id: If561965d2fac5bd63791163cd584a66f71df03b1
Fix ngcp-csc callbarring module bug, related to user clicking
"toggle enabled" icon, and resulting in a console error.
Change-Id: I2d5e52b674ebb4f156064f41d99fac318cc53328
Fix bug that returns "cannot read property '0' of undefined" error,
only when button is clicked, but not on enter keypress.
Change-Id: I9a2565657ab0d761f5e2c4247ae1957ce13e8191
Implement ngcp-csc account module mockup, linked with corresponsing
logged in ACL account. Also remove some console.logs, delete
unneeded bootstrap.js and bootstrap.css files, and replace main model
username object with formula object to correctly display username
in header also immediately after log in. Cleanups and small
refactoring in new patchset.
Change-Id: I91d4b7bfbaf7d27908640b9f730024f63b729695
Fix bug related to breaking issue when a call forwarding menu item,
or corresponding child item, is selected. Also remove child items,
as they won't necessarily be present in new version of this module.
Change-Id: Ib0c4f40c1783fb5d1adab0146b16f2bff06a884a
- chat users are now grouped in teams
- user can add/remove chat channels and add/remove users with both
drag and drop or bulk selection
- message textarea now accepts line breaks (enter + shift)
- added icons to trigger call/videocalls (will be implemented in separat ticket)
Change-Id: Ibc48ff24fbe85c8462ae035970826756d6f56d73
Create ngcp-csc block list module in grid view based on dummy data,
with options to change block mode, add new number entries, delete
entried, and toggle enabled status. Refactor enterPressed and
saveNumbers.
Change-Id: Ie2cd4eb69ae92f5ff24eb1d9c7253dcee501139b
This commit introduces an acl mechanism to provide restricted access to ngcp-csc modules.
There are currently three roles: administrator (full access), restricted (partial access),
and host (minimum access). In production, the role should be delivered by backend/API right after after
successfull authentication; currently the roles are hardcoded and stored in localstorage.
In order to test the different roles, you can login in ngcp-csc using the role as
username/password.
Change-Id: I6beadcf988f75dbcd725542b8534a0d1a36c9301
Now having sencha-cmd packaged we can rely on the Debian package.
While at it drop openjdk-7-jre-headless from the package list
(as it's covered by the default-jre* package) and replace
default-jre with default-jre-headless instead. Also sort the
list alphabetically.
Change-Id: Id2522c75b36409378b2b1d676eb9b08f2cc912ab
* Rename package from ngcp-panel-extjs-csc into ngcp-panel-csc
(to avoid implementation specific package names + have Debian
package name match git repository name)
* Build-Depend on sencha-cmd (proprietary build tool from Sencha
for Ext JS which needs to be shipped via our own repositories)
* Add according build + install steps
* Bump Standards-Version to 3.9.8
* Drop unneeded depends on ${perl:Depends}
Change-Id: I3555ccd229f99813e2c11c1b498e75bf6ec0ebde
Change mock data localtipon from app/data/ to resources/data,
so that the reference works both locally and in production.
Change-Id: I448a81e24c173408f9c77a163762a3cb60523366
Add initial Dockerfile with Sencha, Selenium and Node.js/NPM specific
packages. Add testrunner script to start Selenium Server, install needed
packages for testing and start Karma and WebdriverIO tests.
Change-Id: I9542502a0908fc1b34c01d2b0f792a78e3ba6f79
Move hardcoded text to locale file, and access as variables to enable
quick input of language translations. Also switched out usage of
Ext.manifest.locale with localStorage value, and added locale id
fields for all languages in locale.js.
Change-Id: I91a709397585b048d67104881c371117257ac461
Refactor ngcp-csc mockup login to use central store instead of inline, eliminate unneeded parts of if else in controller, add defaulCredential variable and remove some unnecessary requires.
Change-Id: I3844a036bf994d1759095b2121c0cfa3ca620f5d
Add a login mechanism for the ngcp-csc mockup, to send the user to main view if right credentials are given. Add language selection dropdown that stores value to localStorage.
Change-Id: I02e80700a73a7c6e06c03c81402493f3abb3c9fe
Add a login mechanism for the ngcp-csc mockup, by implementing a login form
with logic, to send the user to main view if right credentials are given.
Change-Id: I44b3c061e4a39f8cd5b0238fe5b34c70fca7ee69