timetracker.git
6 years agoA bit more progress on removing dependency on canManageTeam().
Nik Okuntseff [Sat, 14 Apr 2018 01:26:53 +0000 (01:26 +0000)]
A bit more progress on removing dependency on canManageTeam().

6 years agoA bit of refactoring.
Nik Okuntseff [Fri, 13 Apr 2018 23:24:06 +0000 (23:24 +0000)]
A bit of refactoring.

6 years agoRemoved no longer needed isManager() function.
Nik Okuntseff [Fri, 13 Apr 2018 23:09:32 +0000 (23:09 +0000)]
Removed no longer needed isManager() function.

6 years agoRemoved unused function.
Nik Okuntseff [Thu, 12 Apr 2018 01:30:07 +0000 (01:30 +0000)]
Removed unused function.

6 years agoRemoved a no longer used function.
Nik Okuntseff [Wed, 11 Apr 2018 23:44:54 +0000 (23:44 +0000)]
Removed a no longer used function.

6 years agoRenamed group settings keys in translation files.
Nik Okuntseff [Wed, 11 Apr 2018 23:27:29 +0000 (23:27 +0000)]
Renamed group settings keys in translation files.

6 years agoA bit of refactoring in translation files.
Nik Okuntseff [Wed, 11 Apr 2018 22:32:43 +0000 (22:32 +0000)]
A bit of refactoring in translation files.

6 years agoRefactoring. Got rid of isCoManager() calls.
Nik Okuntseff [Wed, 11 Apr 2018 19:03:46 +0000 (19:03 +0000)]
Refactoring. Got rid of isCoManager() calls.

6 years agoImproved a comment explaining class reuse.
Nik Okuntseff [Wed, 11 Apr 2018 17:37:14 +0000 (17:37 +0000)]
Improved a comment explaining class reuse.

6 years agoImplemented group delete feature.
Nik Okuntseff [Wed, 11 Apr 2018 17:29:09 +0000 (17:29 +0000)]
Implemented group delete feature.

6 years agoIntroduced delete_group right.
Nik Okuntseff [Wed, 11 Apr 2018 14:38:47 +0000 (14:38 +0000)]
Introduced delete_group right.

6 years agoGot rid of ttUser::isAdmin() function.
Nik Okuntseff [Wed, 11 Apr 2018 13:43:17 +0000 (13:43 +0000)]
Got rid of ttUser::isAdmin() function.

6 years agoA bit of ongoing cleanup after roles revamp.
Nik Okuntseff [Wed, 11 Apr 2018 13:32:44 +0000 (13:32 +0000)]
A bit of ongoing cleanup after roles revamp.

6 years agoImproved export-import to include allow_ip and password_complexity.
Nik Okuntseff [Wed, 11 Apr 2018 12:57:39 +0000 (12:57 +0000)]
Improved export-import to include allow_ip and password_complexity.

6 years agoAdded password_complexity property to ttUser class.
Nik Okuntseff [Wed, 11 Apr 2018 01:12:54 +0000 (01:12 +0000)]
Added password_complexity property to ttUser class.

6 years agoCleanup. Removed unused function.
Nik Okuntseff [Wed, 11 Apr 2018 00:36:01 +0000 (00:36 +0000)]
Cleanup. Removed unused function.

6 years agoCleanup. Removed unused function.
Nik Okuntseff [Wed, 11 Apr 2018 00:31:37 +0000 (00:31 +0000)]
Cleanup. Removed unused function.

6 years agoIntroduced password_complexity field in tt_groups table.
Nik Okuntseff [Tue, 10 Apr 2018 15:35:39 +0000 (15:35 +0000)]
Introduced password_complexity field in tt_groups table.

6 years agoRefactored pull request #62.
Nik Okuntseff [Tue, 10 Apr 2018 13:52:38 +0000 (13:52 +0000)]
Refactored pull request #62.

6 years agoA bit of cleanup.
Nik Okuntseff [Mon, 9 Apr 2018 13:18:27 +0000 (13:18 +0000)]
A bit of cleanup.

6 years agoA bit of refactoring.
Nik Okuntseff [Mon, 9 Apr 2018 02:15:34 +0000 (02:15 +0000)]
A bit of refactoring.

6 years agoMoved enablePlugin to ttUser class.
Nik Okuntseff [Sat, 7 Apr 2018 15:46:03 +0000 (15:46 +0000)]
Moved enablePlugin to ttUser class.

6 years agoFixed visibility of the Required checkbox on group settings.
Nik Okuntseff [Sat, 7 Apr 2018 14:58:23 +0000 (14:58 +0000)]
Fixed visibility of the Required checkbox on group settings.

6 years agoCleanup.
Nik Okuntseff [Sat, 7 Apr 2018 10:47:24 +0000 (10:47 +0000)]
Cleanup.

6 years agoChanged redirect after configuring record locking.
Nik Okuntseff [Fri, 6 Apr 2018 21:58:08 +0000 (21:58 +0000)]
Changed redirect after configuring record locking.

6 years agoA bit more refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 21:26:40 +0000 (21:26 +0000)]
A bit more refactoring.

6 years agoMore refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 17:02:03 +0000 (17:02 +0000)]
More refactoring.

6 years agoUpdated readme.
Nik Okuntseff [Fri, 6 Apr 2018 16:09:29 +0000 (16:09 +0000)]
Updated readme.

6 years agoMore refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 14:22:42 +0000 (14:22 +0000)]
More refactoring.

6 years agoSome more refactoring.
Nik Okuntseff [Fri, 6 Apr 2018 11:44:54 +0000 (11:44 +0000)]
Some more refactoring.

6 years agoMore fixes to invoice view.
Nik Okuntseff [Fri, 6 Apr 2018 11:20:07 +0000 (11:20 +0000)]
More fixes to invoice view.

6 years agoFixed invoice view.
Nik Okuntseff [Fri, 6 Apr 2018 10:57:22 +0000 (10:57 +0000)]
Fixed invoice view.

6 years agoMore refactoring in admin files.
Nik Okuntseff [Thu, 5 Apr 2018 13:15:12 +0000 (13:15 +0000)]
More refactoring in admin files.

6 years agoRefactoring in admin_group_edit files.
Nik Okuntseff [Thu, 5 Apr 2018 12:53:50 +0000 (12:53 +0000)]
Refactoring in admin_group_edit files.

6 years agoRefactoring in admin_group_delete.php and .tpl.
Nik Okuntseff [Thu, 5 Apr 2018 12:44:09 +0000 (12:44 +0000)]
Refactoring in admin_group_delete.php and .tpl.

6 years agoSome more refactoring.
Nik Okuntseff [Thu, 5 Apr 2018 12:29:57 +0000 (12:29 +0000)]
Some more refactoring.

6 years agoRenamed admin templates.
Nik Okuntseff [Thu, 5 Apr 2018 12:12:59 +0000 (12:12 +0000)]
Renamed admin templates.

6 years agoRenamed a few files.
Nik Okuntseff [Wed, 4 Apr 2018 22:56:37 +0000 (22:56 +0000)]
Renamed a few files.

6 years agoSome more renaming in progress.
Nik Okuntseff [Wed, 4 Apr 2018 22:46:37 +0000 (22:46 +0000)]
Some more renaming in progress.

6 years agoA little bit of refactoring in export-import.
Nik Okuntseff [Wed, 4 Apr 2018 13:26:42 +0000 (13:26 +0000)]
A little bit of refactoring in export-import.

6 years agoMore refactoring of rights checks (#61)
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

6 years agoFixed Easter holiday for German language.
Nik Okuntseff [Tue, 3 Apr 2018 12:37:34 +0000 (12:37 +0000)]
Fixed Easter holiday for German language.

6 years agoCosmetic.
Nik Okuntseff [Tue, 3 Apr 2018 01:20:25 +0000 (01:20 +0000)]
Cosmetic.

6 years agoRefactor canManageTeam in group_edit.tpl (#59)
bonnedav [Tue, 3 Apr 2018 01:15:53 +0000 (19:15 -0600)]
Refactor canManageTeam in group_edit.tpl (#59)

6 years agoRefactor export.tpl to use rights checks (#60)
bonnedav [Tue, 3 Apr 2018 01:14:01 +0000 (19:14 -0600)]
Refactor export.tpl to use rights checks (#60)

6 years agoSome more progress with renaming.
Nik Okuntseff [Mon, 2 Apr 2018 19:41:54 +0000 (19:41 +0000)]
Some more progress with renaming.

6 years agoA bit more progress with renaming team to group.
Nik Okuntseff [Mon, 2 Apr 2018 16:43:24 +0000 (16:43 +0000)]
A bit more progress with renaming team to group.

6 years agoA bit more progress on renaming.
Nik Okuntseff [Mon, 2 Apr 2018 15:56:39 +0000 (15:56 +0000)]
A bit more progress on renaming.

6 years agoReusing a variable.
Nik Okuntseff [Mon, 2 Apr 2018 14:00:49 +0000 (14:00 +0000)]
Reusing a variable.

6 years agoMade group name read-only for users without manage_advanced_settings right.
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.

6 years agoMoved managed_basic_settings to co-manager role.
Nik Okuntseff [Mon, 2 Apr 2018 13:34:49 +0000 (13:34 +0000)]
Moved managed_basic_settings to co-manager role.

6 years agoSome more renaming.
Nik Okuntseff [Mon, 2 Apr 2018 13:14:33 +0000 (13:14 +0000)]
Some more renaming.

6 years agoA bit more renaming.
Nik Okuntseff [Mon, 2 Apr 2018 01:23:50 +0000 (01:23 +0000)]
A bit more renaming.

6 years agoA bit more progress with renaming.
Nik Okuntseff [Mon, 2 Apr 2018 00:34:26 +0000 (00:34 +0000)]
A bit more progress with renaming.

6 years agoA small fix in English localization.
Nik Okuntseff [Sun, 1 Apr 2018 17:08:18 +0000 (17:08 +0000)]
A small fix in English localization.

6 years agoA bit more progress on renaming.
Nik Okuntseff [Sun, 1 Apr 2018 17:05:24 +0000 (17:05 +0000)]
A bit more progress on renaming.

6 years agoSome more renaming.
Nik Okuntseff [Sun, 1 Apr 2018 16:25:09 +0000 (16:25 +0000)]
Some more renaming.

6 years agoRefactoring. Renaming team to group.
Nik Okuntseff [Sun, 1 Apr 2018 13:13:46 +0000 (13:13 +0000)]
Refactoring. Renaming team to group.

6 years agoA fix in Dutch file.
Nik Okuntseff [Sat, 31 Mar 2018 19:23:08 +0000 (19:23 +0000)]
A fix in Dutch file.

6 years agoPut form.profile.allow_ip into localization files.
Nik Okuntseff [Sat, 31 Mar 2018 17:42:47 +0000 (17:42 +0000)]
Put form.profile.allow_ip into localization files.

6 years agoDutch translation improved.
Nik Okuntseff [Sat, 31 Mar 2018 17:31:09 +0000 (17:31 +0000)]
Dutch translation improved.

6 years agoIntroduced view_own_clients right and its handling.
Nik Okuntseff [Sat, 31 Mar 2018 16:37:58 +0000 (16:37 +0000)]
Introduced view_own_clients right and its handling.

6 years agoIntroduced view_own_tasks 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.

6 years agoWrote ttValidIP function to filter out most of bogus IP input.
Nik Okuntseff [Fri, 30 Mar 2018 22:14:03 +0000 (22:14 +0000)]
Wrote ttValidIP function to filter out most of bogus IP input.

6 years agoFixed handling of admin@localhost.
Nik Okuntseff [Fri, 30 Mar 2018 20:59:05 +0000 (20:59 +0000)]
Fixed handling of admin@localhost.

6 years agoIntroduced IP based access control for groups.
Nik Okuntseff [Fri, 30 Mar 2018 20:07:13 +0000 (20:07 +0000)]
Introduced IP based access control for groups.

6 years agoAdded conditional display of invoice related items on reports.
Nik Okuntseff [Fri, 30 Mar 2018 12:04:42 +0000 (12:04 +0000)]
Added conditional display of invoice related items on reports.

6 years agoIntroduced view_all_reports right and added it to co-manager role.
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.

6 years agoRefactoring. Renamed team_id fields to become group_id.
Nik Okuntseff [Thu, 29 Mar 2018 23:35:58 +0000 (23:35 +0000)]
Refactoring. Renamed team_id fields to become group_id.

6 years agoRefactoring. Renamed tt_teams table to tt_groups.
Nik Okuntseff [Thu, 29 Mar 2018 19:32:52 +0000 (19:32 +0000)]
Refactoring. Renamed tt_teams table to tt_groups.

6 years agoDutch translation improved.
Nik Okuntseff [Thu, 29 Mar 2018 10:35:44 +0000 (10:35 +0000)]
Dutch translation improved.

6 years agoA bit more progress with renaming teams to groups.
Nik Okuntseff [Wed, 28 Mar 2018 01:42:40 +0000 (01:42 +0000)]
A bit more progress with renaming teams to groups.

6 years agoOngoing process of renaming team to group.
Nik Okuntseff [Wed, 28 Mar 2018 00:28:31 +0000 (00:28 +0000)]
Ongoing process of renaming team to group.

6 years agoIntroduced title.group into translation files.
Nik Okuntseff [Tue, 27 Mar 2018 23:41:51 +0000 (23:41 +0000)]
Introduced title.group into translation files.

6 years agoIntroduced menu.group into translation files.
Nik Okuntseff [Tue, 27 Mar 2018 23:30:07 +0000 (23:30 +0000)]
Introduced menu.group into translation files.

6 years agoSplit profile page into two for account and group settings to reduce complexity.
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.

6 years agoRefactored headers to use view_own_projects right check.
Nik Okuntseff [Tue, 27 Mar 2018 20:47:40 +0000 (20:47 +0000)]
Refactored headers to use view_own_projects right check.

6 years agoRenamed view_projects right to view_own_projects.
Nik Okuntseff [Tue, 27 Mar 2018 20:35:51 +0000 (20:35 +0000)]
Renamed view_projects right to view_own_projects.

6 years agoIntroduced view_projects right.
Nik Okuntseff [Tue, 27 Mar 2018 20:07:43 +0000 (20:07 +0000)]
Introduced view_projects right.

6 years agoWork in progress handling manage_own_account right.
Nik Okuntseff [Tue, 27 Mar 2018 17:47:15 +0000 (17:47 +0000)]
Work in progress handling manage_own_account right.

6 years agoIntroduced manage_own_account right.
Nik Okuntseff [Tue, 27 Mar 2018 17:22:47 +0000 (17:22 +0000)]
Introduced manage_own_account right.

6 years agoAdded import timestamp and IP for team import operation.
Nik Okuntseff [Tue, 27 Mar 2018 16:11:35 +0000 (16:11 +0000)]
Added import timestamp and IP for team import operation.

6 years agoFixed page title.
Nik Okuntseff [Tue, 27 Mar 2018 15:16:08 +0000 (15:16 +0000)]
Fixed page title.

6 years agoAdded team_id to project delete and update queries to reduce risk of misuse.
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.

6 years agoIntroduced parent_id and org_id fields in tt_teams.
Nik Okuntseff [Tue, 27 Mar 2018 01:32:29 +0000 (01:32 +0000)]
Introduced parent_id and org_id fields in tt_teams.

6 years agoSecurity fix for project edits.
Nik Okuntseff [Mon, 26 Mar 2018 20:31:45 +0000 (20:31 +0000)]
Security fix for project edits.

6 years agoImproved input checking for role editor.
Nik Okuntseff [Mon, 26 Mar 2018 19:45:10 +0000 (19:45 +0000)]
Improved input checking for role editor.

6 years agoImproved access checks for swap_roles.php.
Nik Okuntseff [Mon, 26 Mar 2018 19:18:51 +0000 (19:18 +0000)]
Improved access checks for swap_roles.php.

6 years agoIncluded team_id in task update sql to avoid risk of misuse.
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.

6 years agoSecurity fix - improved access checks for task edit and deletes.
Nik Okuntseff [Mon, 26 Mar 2018 18:45:28 +0000 (18:45 +0000)]
Security fix - improved access checks for task edit and deletes.

6 years agoImproved access checks for invoices.
Nik Okuntseff [Mon, 26 Mar 2018 17:09:46 +0000 (17:09 +0000)]
Improved access checks for invoices.

6 years agoImproved ttClientHelper::delete() function.
Nik Okuntseff [Mon, 26 Mar 2018 16:19:03 +0000 (16:19 +0000)]
Improved ttClientHelper::delete() function.

6 years agoFixed a comment.
Nik Okuntseff [Mon, 26 Mar 2018 15:16:10 +0000 (15:16 +0000)]
Fixed a comment.

6 years agoFixed reports to include users of lesser roles only.
Nik Okuntseff [Mon, 26 Mar 2018 15:12:52 +0000 (15:12 +0000)]
Fixed reports to include users of lesser roles only.

6 years agoAdded ordering by name to getUsers.
Nik Okuntseff [Mon, 26 Mar 2018 14:34:22 +0000 (14:34 +0000)]
Added ordering by name to getUsers.

6 years agoRemoved rank field from the query as it is currently not used.
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.

6 years agoA bit of refactoring of access checks in user edits and deletes.
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.

6 years agoImproved getUserDetails to not return info for deleted users.
Nik Okuntseff [Mon, 26 Mar 2018 13:14:51 +0000 (13:14 +0000)]
Improved getUserDetails to not return info for deleted users.

6 years agoRemoved self_first option from Users page display - unneeded.
Nik Okuntseff [Mon, 26 Mar 2018 00:14:45 +0000 (00:14 +0000)]
Removed self_first option from Users page display - unneeded.

6 years agoImproved users page a bit in accordance with user rights.
Nik Okuntseff [Mon, 26 Mar 2018 00:10:07 +0000 (00:10 +0000)]
Improved users page a bit in accordance with user rights.