Renamed Schemas to shorten them
Added the name validators for Account Base
Added joining_date/leaving_date validators for employees
Employees should be working now
Lazy loaded everything
TODO: The cash flow module when clicking on sub-links, it reloads the whole page, it needs to be diagnosed and fixed, this problem also exists in the other modules
TODO: Rename folders and modules such as account to accounts to match the url
Chore: Renamed the Ledger Model to Account
Chore: Renamed LedgerType to AccountType
Chore: Renamed all properties of Account table to lowercase with underscores
Feature: Starred Accounts and their entries do not delete during a rebase.
Info: Starred Vouchers still delete. They can be starred, but have no effect.
----
Pending
* Table width for the points column in incentive
* Linting
* keyboard navigation where it was used earlier
* can remove the unused totals calculated serverside in productledger
* spinner and loading bars
* Activate Guard for Employee Function tabs
* Progress for Fingerprint uploads
* deleted reconcile and receipe features as they were not being used
* focus the right control on component load
- Using SystemJS as Module Loader
- Auth and Permissions moved to Credentials.service from $rootScope
- Toasts moved to Messages.service
- Massive Changes
- Sprint 1 done to move to Angular.io from AngularJS
- Should be fully working!! :)
Upgraded to Bootstrap v3.3.7
Had to prefix Typeahead and Datepicker with uib
Had to convert dates from String to Date object in all files for the datepicker
Change: Changed unused is_current LedgerType to CashFlowClassification so that cash flow can be properly classified
Fix: Account update (missing get_code function)
Chore: Upgrade to angular 1.6
Feature: Change Cash Flow to new format to match international guidelines. Still a work in progress.
Fix: Removed memoizing doFilter in the Tokenizer Service as it was giving errors. There is not that much processing, so it may also not be required. Will judge the impact later.
Version: Bumped to 4.0
Added: Dependency of pyramid_tm
Changed: Changed from ACL Authorization to custom Permission Authorization Policy
Using more of inbuilt functions. This should reduce the number of DB hits and improve performance
Journals Validation now checks for negative amount and not just signed amounts.
Journal form supports negative amounts by changing the Debit / Credit.
Removed Messaging and Dashboard from Home screen and all its dependencies
- Ace Editor
- D3
- Chosen
Moved from TryCatch Decorator to View deriver, it is available in Pyramid 1.7+ and the decorator is not working.
Updated Lodash to 4.17.2 (online hosted)
Updated Loading Bar to 0.9.0
Updated Moment.js to 2.17.1
Updated Mousetrap to 1.6.0
Refactor: Simplified MenuItem and Hierarchical Product table.
Feature: Recipe now follows temporat (Point in time) feature.
It should be fully working and records the recipe cost for a period based on the issue price and as on date.
Feature: Using Angular Material for recipe form and also or product form.
Chosen updated to 1.3.0
AngularJS updated to 1.3.8
jQuery updated to 2.1.3
angular-loading-bar updated to 0.6.0
ui-bootstrap updated to 0.12.0
-- All the datepickers updated for is-open so that they open on focus.
Chore: Replaces this in controllers with $scope. Don't know the downsides of using "this", but to prevent any unknown side-effects.
Chore: Rename Crtl to Controller for all controllers.
Fix: Error in ledger where if an entry was selected, if show button was triggered using the return key, it would open that entry instead of loading data
Note: Massive breaking changes in how vouchers are uploaded. Make sure that the client-side code is not cached.
Also, need to implement Database Integrity to check for orphan images.
Recipe: Recipe list and Add / Delete recipe created.
Breaking: Major updates to old databases needed as structure has changed significantly
Product table is not a inherited table similar to ledger table
table prefixes for entities removed
renamed a few tables
removed file types not used from the manifest
README.txt now contains the installation procedure on an Ubuntu 14.04 machine
Product.ShowForPurchase column removed
Product.Discountinued renamed to !Product.IsActive
AngularJS updated to v1.2.16
jQuery updated to v2.1.0
angular-loading-bar updated to v0.3.0
Lo-Dash updated to v2.4.1
mousetrap.js updated to v1.4.6
angular-ui bootstrap updated to v0.10.0 (the min file updated to point to the corrected location of the templates and the templates updated to match the latest needed)
chosen updated to v.1.1.0
Fix: While user login try to catch None password error.
Fix: Rename Yeild to the correct spelling Yield.
Fix: Wrong column type for IsReconciled in Voucher.
Fix: Redirect user on login to last page.
Fix: Validate input in save/update of employee and product
Fix: Added some common validation for inputs
Feature: created a to_uuid function which will return uuid if the string is correct else None to parse uuid inputs.
Fix: Proper modal template so that the modal is proper width
Feature: Payment and receipt last account selected and choose it instead of cash in hand on history back.
Fix: Focus on account typeahead in payment and receipt.
Refactor: Refactored blank_voucher to use additional info only and to output chosen account in purchase / receipt
Signed-off-by: Tanshu <tanshu@gmail.com>
Fix: Made most of the columns on entities_vouchers NOT NULL.
Fix: Renamed ReconcilliationDate to ReconcileDate NOT NULL
Fix: IsReconciled is the check on reconcilliation.
Feature: Changed output of formatted currency to numbers with formatting in html.
Feature: Html number formatting with indian locale info enables lakhs and crores formatting of currency.
TODO: Started work on reset stock. Not working yet
TODO: Satrted work on Server-sent Events directive, not working yet
Feature: Created accounting, clr and percent filters
Using angular-ui for datepicker and typeahead. Modified the source to set template folder in the root and not path relative.
Updated to twitter bootstrap 3.0.0
No longer using the offline.appcache method. Using simple resource cacheing.
Profit & Loss split into Profit & Loss / Balance Sheet
Updated the Ledger html and controller to work with keyboard shortcut.
Still have to implement Remove entry and restore entry in ledger.
Signed-off-by: Tanshu <tanshu@gmail.com>
Fixed: Single Client page gave 404 when opened directly
Add role query:
insert into auth_roles ("RoleID", "Name") VALUES ('2c40f7cf-67fc-4efa-a670-8d16a2e7884d', 'Net Transactions');
Added settings page, view, route and controller.
Added lock_date setting to prevent changes to voucher upto and including that date.
The sql for this update is:
CREATE TABLE settings (
"SettingID" UUID NOT NULL,
"Name" VARCHAR(255) NOT NULL,
"Data" BYTEA,
PRIMARY KEY ("SettingID"),
UNIQUE ("Name")
);
INSERT INTO auth_roles ("RoleID", "Name") VALUES ('d52de0be-9388-4b0b-a359-7e122ab6e53a', 'Lock Date');
Signed-off-by: Tanshu <tanshu@gmail.com>
Showing subscribers in main.html
Messages are considered read when the message is opened by the user.
Fixed error left from before where batch date was not updated on updating purchase voucher.
to update this step, also execute the following sql in the database.
update entities_batches set "Name" = '01-Jan-2012' where "Name" = 'Old Products';
alter table entities_batches alter column "Name" type timestamp without time zone using "Name"::date;
Fixed storing utc dates in message tables.
Created utc class for time-aware dates.
Updated home to show age of Threads and open in new window available.
Modified message detail template to show editable by privileged user.
Added subscribers to thread detail.
Improved markup for message-detail to use less space.
Improved the chosen directive for when there is no create option.
Added method 'Names' to user resource for use in message subscribers.
Payment and Receipt clear typeahead on adding ledgers.
TODO: Implement thread read status per user.
TODO: Implemented edit post functionality for privileged user.
TODO: Implement thread filtering on main page for subscribers
Signed-off-by: Tanshu <tanshu@gmail.com>
Public and Closed checkboxes should now be working.
Delete button in message-detail.html was accidentally left, removed.
Removed cacheing from an-autocomplete.
Message list now returns tags list also.
Moved all json calls to /api route and ignore xhr status,
this is because app cache failed to distinguish and was breaking Ledger,
must be doing the same to others as well.
Added offline.appcache to use application cacheing in html5.
Moved favicon.ico to static from views.
Updated all angular resources to use /api route.
Changed voucher.Journals watch to use array functions of ECMAScript5.
Added downloadTable button to product ledger.
ProductLedgerCtrl updates data when route is not being changed on clicking show without changing the parameters.
Added view to serve manifest file.
Removed unused backbone and underscore js files.
Removed Unnecessary update in Journal model.
Added refresh button to Unposted page.
Base, Account, Attendance, Journal, Login, Logout, Unposted, Controllers are Minifiable.
Modal Service and Directives are Minifiable.
Fixed EmployeeAttendanceCtrl.
Fixed Save Account. Added validation to vouchers.
Added rounding to Journal Voucher.
Purchase now updates product price.
Added limiting of clients via cookies.
Added Attendence report download and credit salary in employee functions.
Renamed get_by_id and get_by_name in User, Group and Role models.
Added salary staff account in LedgerBase.
Voucher validation to be checked.
Added csv renderer for downloading csv files.
Added ngCookies module to process ClientID in login form on client side.
Modified the datepicker directive to process model properly.
Fixed Employee Attendance, was broken.
Allowed batch quantity to increase in multiple entries of same product batch in issue.
Ledger report would not reload data if ledger and dates were not changed, fixed that.
Removed code from voucher, cost center,
Changed the clean-table css to only add color and nothing else.
Added Reconcilliation Date to voucher.
Added rounding to two in amount and quantity to combat sqlalchemy storing decimals as floats.
Major changes to the autocomplete directive.
Modified autocomplete to use Angular Resources and target Attributes not Elements.
Edit in Purchase is not showing the right rate or amount.
Removed autobatch directive as it was no longer needed.
Added autocomplete method to resources for use in autocomplete.
Removed redundant print / console.log debug statements.
Purchase Return edit done.
Issue editing done.
Added the reconcilable column to ledgers table for future implementation of reconcile account feature.
Purchase return should work now at.
Changed the class of add button in voucher forms to btn-info
Edit in Payment and Receipt should be working now.
JS Code Cleanup including missing ';', etc.
Added 'use strict'; to all js files
Added came_from in login in AngularJS.
Fixed error in purchase where it would look for purchase_ledger instead of ledger of product.
Added 'Clients' permission which is allowed remote logins and to authorize/deauthroize clients
Added JDBC Sqlite provider for use in PyCharm
Editing entries in journal.html built.
modal-service.js now supports loading partials from urls.
Redirect from login to came_from enabled.
Created getOldJournal in JournalCtrl to enable editting of individual entries.
Upgraded to twitter bootstrap 2.1.1
Table formatting using twitter table
Cleaned up old cruft.
Had accidently misplaced BaseController, fixed.
base.mako made fully html.
Changed certain permissions from specific to authenticated, need to check further such problems and change them.
They prevented the user from vieweing lists in other forms.
Removed the templates of the nav bar and integrated into the base page
Removed helper module
Fixed auth model for wrong username.
Updated to anuglar 1.0.2
Closing stock with resolve.
Login with controller
Issue sort of working, have to set the location for date and costcenters, but otherwise working mostly
updated product service to confirm with new db structure
Removed route for user groups and related views / templates
User management created.
Updated journal to full angular with routes
Added User service in angular
Added Journal Route.
Changed auth in BaseCtrl to use Permission service and do away with function.
Changed Ledger to Account in ui and made the list and detail form + view angular.
Added partial static view for AngularJS templates
Added services / routes for user permissions and account types
Removed post_voucher and delete_voucher route as they are no longer needed
Added Account / Ledger / Permission / Cost Center / Account Type service in angular
Added routes for /Accounts
Disabled the debug toolbar
Moved all code to the service view.
Product Autocomplete Service returns price as well.
Ledger Service simplified.
Cost Center Service updated to return grid for AngularJS.
Moved common code to BaseCtl.
Working on Issue page.
Toasts now working fully.
Need to check for Journal/Inventories as undefined in all forms for all $watches as Service methods replace voucher with new {}.
Removed Code column from Batch.
Routes updated for the changes.
updated the database.
added sql server to sqlite converter and change scripts.
removed code from batch.
journal/payment/receipt/purchase should be working fully.
updated bootstrap to 2.1.0
removed rootscope to add intital data to the controller via global variables.
cannot update the environment because distribute on windows does not update on virtualenv.