Nik Okuntseff [Fri, 6 Apr 2018 14:22:42 +0000 (14:22 +0000)]
More refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 11:44:54 +0000 (11:44 +0000)]
Some more refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 11:20:07 +0000 (11:20 +0000)]
More fixes to invoice view.
Nik Okuntseff [Fri, 6 Apr 2018 10:57:22 +0000 (10:57 +0000)]
Fixed invoice view.
Nik Okuntseff [Thu, 5 Apr 2018 13:15:12 +0000 (13:15 +0000)]
More refactoring in admin files.
Nik Okuntseff [Thu, 5 Apr 2018 12:53:50 +0000 (12:53 +0000)]
Refactoring in admin_group_edit files.
Nik Okuntseff [Thu, 5 Apr 2018 12:44:09 +0000 (12:44 +0000)]
Refactoring in admin_group_delete.php and .tpl.
Nik Okuntseff [Thu, 5 Apr 2018 12:29:57 +0000 (12:29 +0000)]
Some more refactoring.
Nik Okuntseff [Thu, 5 Apr 2018 12:12:59 +0000 (12:12 +0000)]
Renamed admin templates.
Nik Okuntseff [Wed, 4 Apr 2018 22:56:37 +0000 (22:56 +0000)]
Renamed a few files.
Nik Okuntseff [Wed, 4 Apr 2018 22:46:37 +0000 (22:46 +0000)]
Some more renaming in progress.
Nik Okuntseff [Wed, 4 Apr 2018 13:26:42 +0000 (13:26 +0000)]
A little bit of refactoring in export-import.
bonnedav [Tue, 3 Apr 2018 12:53:55 +0000 (06:53 -0600)]
More refactoring of rights checks (#61)
* Refactor predefined_expenses.tpl to use rights checks
* Refactor notifications.tpl to use rights checks
* Refactor invoices.tpl to use rights checks
* Refactor projects.tpl to use rights checks
* Update users.php
* Refactor desktop projects.tpl to use rights checks
* Refactor expenses.php to remove stray canManageTeam() call
* Refactor mobile users.php to remove stray canManageTeam call
* Refactor mobile expenses.php to remove stray canManageTeam() call
* Refactor time.php to remove stray canManageTeam call
Nik Okuntseff [Tue, 3 Apr 2018 12:37:34 +0000 (12:37 +0000)]
Fixed Easter holiday for German language.
Nik Okuntseff [Tue, 3 Apr 2018 01:20:25 +0000 (01:20 +0000)]
Cosmetic.
bonnedav [Tue, 3 Apr 2018 01:15:53 +0000 (19:15 -0600)]
Refactor canManageTeam in group_edit.tpl (#59)
bonnedav [Tue, 3 Apr 2018 01:14:01 +0000 (19:14 -0600)]
Refactor export.tpl to use rights checks (#60)
Nik Okuntseff [Mon, 2 Apr 2018 19:41:54 +0000 (19:41 +0000)]
Some more progress with renaming.
Nik Okuntseff [Mon, 2 Apr 2018 16:43:24 +0000 (16:43 +0000)]
A bit more progress with renaming team to group.
Nik Okuntseff [Mon, 2 Apr 2018 15:56:39 +0000 (15:56 +0000)]
A bit more progress on renaming.
Nik Okuntseff [Mon, 2 Apr 2018 14:00:49 +0000 (14:00 +0000)]
Reusing a variable.
Nik Okuntseff [Mon, 2 Apr 2018 13:56:48 +0000 (13:56 +0000)]
Made group name read-only for users without manage_advanced_settings right.
Nik Okuntseff [Mon, 2 Apr 2018 13:34:49 +0000 (13:34 +0000)]
Moved managed_basic_settings to co-manager role.
Nik Okuntseff [Mon, 2 Apr 2018 13:14:33 +0000 (13:14 +0000)]
Some more renaming.
Nik Okuntseff [Mon, 2 Apr 2018 01:23:50 +0000 (01:23 +0000)]
A bit more renaming.
Nik Okuntseff [Mon, 2 Apr 2018 00:34:26 +0000 (00:34 +0000)]
A bit more progress with renaming.
Nik Okuntseff [Sun, 1 Apr 2018 17:08:18 +0000 (17:08 +0000)]
A small fix in English localization.
Nik Okuntseff [Sun, 1 Apr 2018 17:05:24 +0000 (17:05 +0000)]
A bit more progress on renaming.
Nik Okuntseff [Sun, 1 Apr 2018 16:25:09 +0000 (16:25 +0000)]
Some more renaming.
Nik Okuntseff [Sun, 1 Apr 2018 13:13:46 +0000 (13:13 +0000)]
Refactoring. Renaming team to group.
Nik Okuntseff [Sat, 31 Mar 2018 19:23:08 +0000 (19:23 +0000)]
A fix in Dutch file.
Nik Okuntseff [Sat, 31 Mar 2018 17:42:47 +0000 (17:42 +0000)]
Put form.profile.allow_ip into localization files.
Nik Okuntseff [Sat, 31 Mar 2018 17:31:09 +0000 (17:31 +0000)]
Dutch translation improved.
Nik Okuntseff [Sat, 31 Mar 2018 16:37:58 +0000 (16:37 +0000)]
Introduced view_own_clients right and its handling.
Nik Okuntseff [Sat, 31 Mar 2018 13:49:14 +0000 (13:49 +0000)]
Introduced view_own_tasks right and its handling.
Nik Okuntseff [Fri, 30 Mar 2018 22:14:03 +0000 (22:14 +0000)]
Wrote ttValidIP function to filter out most of bogus IP input.
Nik Okuntseff [Fri, 30 Mar 2018 20:59:05 +0000 (20:59 +0000)]
Fixed handling of admin@localhost.
Nik Okuntseff [Fri, 30 Mar 2018 20:07:13 +0000 (20:07 +0000)]
Introduced IP based access control for groups.
Nik Okuntseff [Fri, 30 Mar 2018 12:04:42 +0000 (12:04 +0000)]
Added conditional display of invoice related items on reports.
Nik Okuntseff [Fri, 30 Mar 2018 11:28:07 +0000 (11:28 +0000)]
Introduced view_all_reports right and added it to co-manager role.
Nik Okuntseff [Thu, 29 Mar 2018 23:35:58 +0000 (23:35 +0000)]
Refactoring. Renamed team_id fields to become group_id.
Nik Okuntseff [Thu, 29 Mar 2018 19:32:52 +0000 (19:32 +0000)]
Refactoring. Renamed tt_teams table to tt_groups.
Nik Okuntseff [Thu, 29 Mar 2018 10:35:44 +0000 (10:35 +0000)]
Dutch translation improved.
Nik Okuntseff [Wed, 28 Mar 2018 01:42:40 +0000 (01:42 +0000)]
A bit more progress with renaming teams to groups.
Nik Okuntseff [Wed, 28 Mar 2018 00:28:31 +0000 (00:28 +0000)]
Ongoing process of renaming team to group.
Nik Okuntseff [Tue, 27 Mar 2018 23:41:51 +0000 (23:41 +0000)]
Introduced title.group into translation files.
Nik Okuntseff [Tue, 27 Mar 2018 23:30:07 +0000 (23:30 +0000)]
Introduced menu.group into translation files.
Nik Okuntseff [Tue, 27 Mar 2018 23:17:04 +0000 (23:17 +0000)]
Split profile page into two for account and group settings to reduce complexity.
Nik Okuntseff [Tue, 27 Mar 2018 20:47:40 +0000 (20:47 +0000)]
Refactored headers to use view_own_projects right check.
Nik Okuntseff [Tue, 27 Mar 2018 20:35:51 +0000 (20:35 +0000)]
Renamed view_projects right to view_own_projects.
Nik Okuntseff [Tue, 27 Mar 2018 20:07:43 +0000 (20:07 +0000)]
Introduced view_projects right.
Nik Okuntseff [Tue, 27 Mar 2018 17:47:15 +0000 (17:47 +0000)]
Work in progress handling manage_own_account right.
Nik Okuntseff [Tue, 27 Mar 2018 17:22:47 +0000 (17:22 +0000)]
Introduced manage_own_account right.
Nik Okuntseff [Tue, 27 Mar 2018 16:11:35 +0000 (16:11 +0000)]
Added import timestamp and IP for team import operation.
Nik Okuntseff [Tue, 27 Mar 2018 15:16:08 +0000 (15:16 +0000)]
Fixed page title.
Nik Okuntseff [Tue, 27 Mar 2018 09:57:42 +0000 (09:57 +0000)]
Added team_id to project delete and update queries to reduce risk of misuse.
Nik Okuntseff [Tue, 27 Mar 2018 01:32:29 +0000 (01:32 +0000)]
Introduced parent_id and org_id fields in tt_teams.
Nik Okuntseff [Mon, 26 Mar 2018 20:31:45 +0000 (20:31 +0000)]
Security fix for project edits.
Nik Okuntseff [Mon, 26 Mar 2018 19:45:10 +0000 (19:45 +0000)]
Improved input checking for role editor.
Nik Okuntseff [Mon, 26 Mar 2018 19:18:51 +0000 (19:18 +0000)]
Improved access checks for swap_roles.php.
Nik Okuntseff [Mon, 26 Mar 2018 18:56:07 +0000 (18:56 +0000)]
Included team_id in task update sql to avoid risk of misuse.
Nik Okuntseff [Mon, 26 Mar 2018 18:45:28 +0000 (18:45 +0000)]
Security fix - improved access checks for task edit and deletes.
Nik Okuntseff [Mon, 26 Mar 2018 17:09:46 +0000 (17:09 +0000)]
Improved access checks for invoices.
Nik Okuntseff [Mon, 26 Mar 2018 16:19:03 +0000 (16:19 +0000)]
Improved ttClientHelper::delete() function.
Nik Okuntseff [Mon, 26 Mar 2018 15:16:10 +0000 (15:16 +0000)]
Fixed a comment.
Nik Okuntseff [Mon, 26 Mar 2018 15:12:52 +0000 (15:12 +0000)]
Fixed reports to include users of lesser roles only.
Nik Okuntseff [Mon, 26 Mar 2018 14:34:22 +0000 (14:34 +0000)]
Added ordering by name to getUsers.
Nik Okuntseff [Mon, 26 Mar 2018 14:25:58 +0000 (14:25 +0000)]
Removed rank field from the query as it is currently not used.
Nik Okuntseff [Mon, 26 Mar 2018 14:19:37 +0000 (14:19 +0000)]
A bit of refactoring of access checks in user edits and deletes.
Nik Okuntseff [Mon, 26 Mar 2018 13:14:51 +0000 (13:14 +0000)]
Improved getUserDetails to not return info for deleted users.
Nik Okuntseff [Mon, 26 Mar 2018 00:14:45 +0000 (00:14 +0000)]
Removed self_first option from Users page display - unneeded.
Nik Okuntseff [Mon, 26 Mar 2018 00:10:07 +0000 (00:10 +0000)]
Improved users page a bit in accordance with user rights.
Nik Okuntseff [Sun, 25 Mar 2018 22:31:31 +0000 (22:31 +0000)]
Access check improvements for time and expense edits and deletes.
Nik Okuntseff [Sun, 25 Mar 2018 21:32:25 +0000 (21:32 +0000)]
Improved population of on behalf dropdowns on week view and expenses pages.
Nik Okuntseff [Sun, 25 Mar 2018 20:43:45 +0000 (20:43 +0000)]
Improved time page with a better filter for on behalf users - lower roles only.
Nik Okuntseff [Sun, 25 Mar 2018 20:28:44 +0000 (20:28 +0000)]
Fixed typos.
Nik Okuntseff [Sun, 25 Mar 2018 20:25:40 +0000 (20:25 +0000)]
A bit better job with access checks for charts.
Nik Okuntseff [Sun, 25 Mar 2018 16:22:57 +0000 (16:22 +0000)]
Fixed the charts tab to work better for lower roles only.
Nik Okuntseff [Sat, 24 Mar 2018 22:16:05 +0000 (22:16 +0000)]
Refactored mobile header to use access rights.
Nik Okuntseff [Sat, 24 Mar 2018 22:05:41 +0000 (22:05 +0000)]
Fixed projects menu for users with manage_projects right.
Nik Okuntseff [Sat, 24 Mar 2018 22:00:19 +0000 (22:00 +0000)]
Some fixes for desktop header.tpl.
bonnedav [Sat, 24 Mar 2018 21:39:39 +0000 (15:39 -0600)]
Refactor header to use user rights. (#57)
* Refactor header to use user rights.
* use "manage_own_settings" for porfile link
Nik Okuntseff [Sat, 24 Mar 2018 21:08:52 +0000 (21:08 +0000)]
Finished improving access checks by providing separate error msg for disabled features.
Nik Okuntseff [Sat, 24 Mar 2018 19:52:42 +0000 (19:52 +0000)]
More improvements to access checks.
Nik Okuntseff [Sat, 24 Mar 2018 19:37:00 +0000 (19:37 +0000)]
A bit more progress on refactoring access checks.
Nik Okuntseff [Sat, 24 Mar 2018 18:05:53 +0000 (18:05 +0000)]
Some refactoring of access checks - in progress.
Nik Okuntseff [Sat, 24 Mar 2018 16:52:06 +0000 (16:52 +0000)]
One more fix to header output.
Nik Okuntseff [Sat, 24 Mar 2018 16:48:47 +0000 (16:48 +0000)]
Fixed header to print a revamped role name.
Nik Okuntseff [Sat, 24 Mar 2018 16:17:16 +0000 (16:17 +0000)]
Added error.feature_disabled to translation files.
Nik Okuntseff [Sat, 24 Mar 2018 16:04:24 +0000 (16:04 +0000)]
Introduced feature_disabled.php for better error description.
Nik Okuntseff [Sat, 24 Mar 2018 11:22:56 +0000 (11:22 +0000)]
Added some protection from bot registrations.
Nik Okuntseff [Fri, 23 Mar 2018 23:08:40 +0000 (23:08 +0000)]
Put form.swap.hint into translation files.
Nik Okuntseff [Fri, 23 Mar 2018 22:18:29 +0000 (22:18 +0000)]
Put form.profile.swap_roles into localization files.
Nik Okuntseff [Fri, 23 Mar 2018 22:01:49 +0000 (22:01 +0000)]
Added modification info to swap role operation.
Nik Okuntseff [Fri, 23 Mar 2018 21:46:05 +0000 (21:46 +0000)]
Added a Cancel button on the swap roles page.
Nik Okuntseff [Fri, 23 Mar 2018 20:26:41 +0000 (20:26 +0000)]
Put a swap roles link on user_edit.php.
Nik Okuntseff [Fri, 23 Mar 2018 17:48:20 +0000 (17:48 +0000)]
Replaced timestamp column with datetime type in tt_tmp_refs.
Nik Okuntseff [Fri, 23 Mar 2018 17:01:42 +0000 (17:01 +0000)]
Replaced getKey() with get() calls.
Nik Okuntseff [Fri, 23 Mar 2018 16:09:47 +0000 (16:09 +0000)]
Some more refactoring.
Nik Okuntseff [Fri, 23 Mar 2018 15:37:45 +0000 (15:37 +0000)]
Some more refactoring.