Commit Graph

528 Commits

Author SHA1 Message Date
Tanshu
ca8004015d Updated to Angular 1.2-rc.1 (at the moment rc.2 is not working with datepicker and typeahead of angular ui)
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
2013-10-01 16:51:41 +05:30
Tanshu
909b468c9d Added a keypress directive.
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>
2013-10-01 16:51:07 +05:30
Tanshu
b3ece30300 Added: Net Transactions report. Need to add roles in the Roles table in db.
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');
2013-07-11 17:55:51 +05:30
Tanshu
d187c1ee2f Added settings table to store user settings.
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>
2013-07-08 01:33:02 +05:30
Tanshu
30a38f7ed9 Updated Thread / Messaging to show unread / read messages
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.
2013-06-24 13:53:51 +05:30
Tanshu
a2587cda60 Fixed critical error in Batch table 2013-06-21 16:27:27 +05:30
Tanshu
5972dd6b75 Updated batch to use a date instead of string as name.
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;
2013-06-21 16:20:50 +05:30
Tanshu
eae7220651 Error updating thread fixed. 2013-06-21 15:34:44 +05:30
Tanshu
1bd079ae74 Error where new thread could not be created because the check of old was wrong. 2013-06-21 15:12:01 +05:30
Tanshu
89e6f347cd Updating subscribers of threads now works. 2013-06-20 19:02:51 +05:30
Tanshu
b9845a2dc1 Allowed superuser to edit posts in threads.
Catch IntegrityError in TryCatchDecorator
Check for duplicate title in threads
2013-06-20 14:28:35 +05:30
Tanshu
c6c091bdcb Fixed error where wrong permission was checked while trying to update users. 2013-06-17 12:23:38 +05:30
Tanshu
69d6a76632 Fixed error where when super_user updated a Thread, it would always be maked closed and public 2013-06-08 14:39:07 +05:30
Tanshu
1fc2127835 Manifest added to MANIFEST.in 2013-06-07 19:15:55 +05:30
Tanshu
4629fbcacf Error in thread show_list fixed.
Updated jquery to 2.0.2
2013-06-07 19:13:58 +05:30
Tanshu
0ff8108ebe Allow filtering of Threads based on open / closed / all on home.html 2013-06-07 18:47:15 +05:30
Tanshu
970eea2979 Thread subscribers working.
TODO: Implement thread read status per user.
TODO: Implemented edit post functionality for privileged user.
2013-06-07 15:55:12 +05:30
Tanshu
6bf884da66 Hopefully now the probem displaying thread age should be fixed.
Default arguments of python funtions are evaluated only on definition time.

Signed-off-by: Tanshu <tanshu@gmail.com>
2013-06-07 14:57:56 +05:30
Tanshu
d111c7b41c Angular_filter for localTime error fixed when input is undefined. 2013-06-06 23:53:53 +05:30
Tanshu
5ceb4e8f0c Hopefully show proper creation / last edit time in vouchers. 2013-06-06 23:47:04 +05:30
Tanshu
7650fffea0 get_age made more robust plus fixed minutes error.
Made Voucher.creation_date, last_edit_date and Attendance.creation_date tz aware
2013-06-06 23:24:27 +05:30
Tanshu
01298ebadb Fixed password change not allowed for non Privilaged users.
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>
2013-06-06 16:56:05 +05:30
Tanshu
d5dcd392f7 Error in message-detail.html partial
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.
2013-05-30 18:28:41 +05:30
Tanshu
86b5beaa0d Added new styles based and layout
Update home list style to use widgets from the unicorn theme.
Creation Date is now formatted using filter to show local time.
2013-05-30 16:52:51 +05:30
Tanshu
37acebca06 Critical error in routes for api_tag_list fixed. 2013-05-29 13:35:12 +05:30
Tanshu
6225da9ec8 Added the full messaging module.
Added ace.ajax.org editor for messaging.
Added showdown for showing markdown in messaging.
Added chosen for multi-select tags.
2013-05-29 13:28:37 +05:30
Tanshu
762ff27ffc Updated json renderer to pyramid 1.4 format 2013-05-19 17:09:14 +05:30
Tanshu
fa95e79e0f Updated the typeahead directive to cache queries. 2013-05-18 15:03:50 +05:30
Tanshu
572a630520 Added client enable / disable / rename form.
Fixed compile error in Purchase Return
2013-05-18 13:22:39 +05:30
Tanshu
1a4a136058 Hopefully fixed purchase return update journal. 2013-05-18 12:42:38 +05:30
Tanshu
9db47afb7a Now hopefully fixed 2013-05-18 12:23:44 +05:30
Tanshu
8985f1213a Fixed again 2013-05-18 12:18:02 +05:30
Tanshu
6e6113436b Error in Purchase Return where journal amounts do not match due to rounding fixed. 2013-05-18 12:13:06 +05:30
Tanshu
867935306d Changed the toasts to Growl notifications which floats. 2013-05-17 23:56:48 +05:30
Tanshu
ec45880dea Forgot to add to user_list view. Fixed 2013-05-16 14:55:07 +05:30
Tanshu
1bf0914389 Updated bootstrap to v2.3.1 2013-05-16 14:43:41 +05:30
Tanshu
bff0ef7ff9 Fixed employee_code references to employee_id in Fingerprint and related functions.
Updated windows install guide.
2013-04-17 14:08:09 +05:30
Tanshu
ddd6883172 Made the model User.by_name() case insensitive 2013-04-15 12:43:33 +05:30
Tanshu
eaa32d9c3a removed database trasfer code. 2013-04-15 00:24:57 +05:30
Tanshu
77e3945f1e To Upgrade Bengali Data 2013-04-14 16:39:55 +05:30
Tanshu
399d0c88f2 Fixed critical error in Fingerprint where upload was not committed. 2013-02-26 19:17:51 +05:30
Tanshu
5ff11d9c6b Performance in Ledger Report, footer was being generated on every voucher 2013-02-20 20:15:53 +05:30
Tanshu
ac11133f97 Added batch display in issue. 2013-02-09 19:22:31 +05:30
Tanshu
0f29356f0d Fixed errors where matchdict.get[] was used.
Checking in delete product while updating purchase changed to proper checking instead of just full value.
2013-02-09 18:52:05 +05:30
Tanshu
89f2457749 Updated Bootstrap to v2.2.2
Fixed broken voucher.delete where it was not going in specific kinds of vouchers.
2013-02-07 18:52:58 +05:30
Tanshu
bfa9702a23 Ledger was wrongly adding the opening to the total of debit / credit, fixed. 2013-01-16 19:13:08 +05:30
Tanshu
a9176f783d Cache perms in session.
Cache auth in session.
Error in update issue voucher where departments could never change fixed.
Added logging for sqlalchemy in development.ini
2013-01-02 22:47:39 +05:30
Tanshu
fc06aab741 Fingerprint route not changed 2013-01-02 19:21:36 +05:30
Tanshu
6990131bf2 Trial Balanced was ignoring last date, fixed.
Salary Deduction fixed.
2013-01-02 19:18:25 +05:30
Tanshu
6b89a93bde Trying to catch database locked error 2012-12-25 13:55:28 +05:30