Nik Okuntseff [Sat, 14 Apr 2018 11:49:47 +0000 (11:49 +0000)]
Fixed getUser to include client_id.
Nik Okuntseff [Sat, 14 Apr 2018 01:26:53 +0000 (01:26 +0000)]
A bit more progress on removing dependency on canManageTeam().
Nik Okuntseff [Fri, 13 Apr 2018 23:24:06 +0000 (23:24 +0000)]
A bit of refactoring.
Nik Okuntseff [Fri, 13 Apr 2018 23:09:32 +0000 (23:09 +0000)]
Removed no longer needed isManager() function.
Nik Okuntseff [Thu, 12 Apr 2018 01:30:07 +0000 (01:30 +0000)]
Removed unused function.
Nik Okuntseff [Wed, 11 Apr 2018 23:44:54 +0000 (23:44 +0000)]
Removed a no longer used function.
Nik Okuntseff [Wed, 11 Apr 2018 23:27:29 +0000 (23:27 +0000)]
Renamed group settings keys in translation files.
Nik Okuntseff [Wed, 11 Apr 2018 22:32:43 +0000 (22:32 +0000)]
A bit of refactoring in translation files.
Nik Okuntseff [Wed, 11 Apr 2018 19:03:46 +0000 (19:03 +0000)]
Refactoring. Got rid of isCoManager() calls.
Nik Okuntseff [Wed, 11 Apr 2018 17:37:14 +0000 (17:37 +0000)]
Improved a comment explaining class reuse.
Nik Okuntseff [Wed, 11 Apr 2018 17:29:09 +0000 (17:29 +0000)]
Implemented group delete feature.
Nik Okuntseff [Wed, 11 Apr 2018 14:38:47 +0000 (14:38 +0000)]
Introduced delete_group right.
Nik Okuntseff [Wed, 11 Apr 2018 13:43:17 +0000 (13:43 +0000)]
Got rid of ttUser::isAdmin() function.
Nik Okuntseff [Wed, 11 Apr 2018 13:32:44 +0000 (13:32 +0000)]
A bit of ongoing cleanup after roles revamp.
Nik Okuntseff [Wed, 11 Apr 2018 12:57:39 +0000 (12:57 +0000)]
Improved export-import to include allow_ip and password_complexity.
Nik Okuntseff [Wed, 11 Apr 2018 01:12:54 +0000 (01:12 +0000)]
Added password_complexity property to ttUser class.
Nik Okuntseff [Wed, 11 Apr 2018 00:36:01 +0000 (00:36 +0000)]
Cleanup. Removed unused function.
Nik Okuntseff [Wed, 11 Apr 2018 00:31:37 +0000 (00:31 +0000)]
Cleanup. Removed unused function.
Nik Okuntseff [Tue, 10 Apr 2018 15:35:39 +0000 (15:35 +0000)]
Introduced password_complexity field in tt_groups table.
Nik Okuntseff [Tue, 10 Apr 2018 13:52:38 +0000 (13:52 +0000)]
Refactored pull request #62.
Nik Okuntseff [Mon, 9 Apr 2018 13:18:27 +0000 (13:18 +0000)]
A bit of cleanup.
Nik Okuntseff [Mon, 9 Apr 2018 02:15:34 +0000 (02:15 +0000)]
A bit of refactoring.
Nik Okuntseff [Sat, 7 Apr 2018 15:46:03 +0000 (15:46 +0000)]
Moved enablePlugin to ttUser class.
Nik Okuntseff [Sat, 7 Apr 2018 14:58:23 +0000 (14:58 +0000)]
Fixed visibility of the Required checkbox on group settings.
Nik Okuntseff [Sat, 7 Apr 2018 10:47:24 +0000 (10:47 +0000)]
Cleanup.
Nik Okuntseff [Fri, 6 Apr 2018 21:58:08 +0000 (21:58 +0000)]
Changed redirect after configuring record locking.
Nik Okuntseff [Fri, 6 Apr 2018 21:26:40 +0000 (21:26 +0000)]
A bit more refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 17:02:03 +0000 (17:02 +0000)]
More refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 16:09:29 +0000 (16:09 +0000)]
Updated readme.
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.