timetracker.git
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.

6 years agoAccess check improvements for time and expense edits and deletes.
Nik Okuntseff [Sun, 25 Mar 2018 22:31:31 +0000 (22:31 +0000)]
Access check improvements for time and expense edits and deletes.

6 years agoImproved population of on behalf dropdowns on week view and expenses pages.
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.

6 years agoImproved time page with a better filter for on behalf users - lower roles only.
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.

6 years agoFixed typos.
Nik Okuntseff [Sun, 25 Mar 2018 20:28:44 +0000 (20:28 +0000)]
Fixed typos.

6 years agoA bit better job with access checks for charts.
Nik Okuntseff [Sun, 25 Mar 2018 20:25:40 +0000 (20:25 +0000)]
A bit better job with access checks for charts.

6 years agoFixed the charts tab to work better for lower roles only.
Nik Okuntseff [Sun, 25 Mar 2018 16:22:57 +0000 (16:22 +0000)]
Fixed the charts tab to work better for lower roles only.

6 years agoRefactored mobile header to use access rights.
Nik Okuntseff [Sat, 24 Mar 2018 22:16:05 +0000 (22:16 +0000)]
Refactored mobile header to use access rights.

6 years agoFixed projects menu for users with manage_projects right.
Nik Okuntseff [Sat, 24 Mar 2018 22:05:41 +0000 (22:05 +0000)]
Fixed projects menu for users with manage_projects right.

6 years agoSome fixes for desktop header.tpl.
Nik Okuntseff [Sat, 24 Mar 2018 22:00:19 +0000 (22:00 +0000)]
Some fixes for desktop header.tpl.

6 years agoRefactor header to use user rights. (#57)
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

6 years agoFinished improving access checks by providing separate error msg for disabled features.
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.

6 years agoMore improvements to access checks.
Nik Okuntseff [Sat, 24 Mar 2018 19:52:42 +0000 (19:52 +0000)]
More improvements to access checks.

6 years agoA bit more progress on refactoring access checks.
Nik Okuntseff [Sat, 24 Mar 2018 19:37:00 +0000 (19:37 +0000)]
A bit more progress on refactoring access checks.

6 years agoSome refactoring of access checks - in progress.
Nik Okuntseff [Sat, 24 Mar 2018 18:05:53 +0000 (18:05 +0000)]
Some refactoring of access checks - in progress.

6 years agoOne more fix to header output.
Nik Okuntseff [Sat, 24 Mar 2018 16:52:06 +0000 (16:52 +0000)]
One more fix to header output.

6 years agoFixed header to print a revamped role name.
Nik Okuntseff [Sat, 24 Mar 2018 16:48:47 +0000 (16:48 +0000)]
Fixed header to print a revamped role name.

6 years agoAdded error.feature_disabled to translation files.
Nik Okuntseff [Sat, 24 Mar 2018 16:17:16 +0000 (16:17 +0000)]
Added error.feature_disabled to translation files.

6 years agoIntroduced feature_disabled.php for better error description.
Nik Okuntseff [Sat, 24 Mar 2018 16:04:24 +0000 (16:04 +0000)]
Introduced feature_disabled.php for better error description.

6 years agoAdded some protection from bot registrations.
Nik Okuntseff [Sat, 24 Mar 2018 11:22:56 +0000 (11:22 +0000)]
Added some protection from bot registrations.

6 years agoPut form.swap.hint into translation files.
Nik Okuntseff [Fri, 23 Mar 2018 23:08:40 +0000 (23:08 +0000)]
Put form.swap.hint into translation files.

6 years agoPut form.profile.swap_roles into localization files.
Nik Okuntseff [Fri, 23 Mar 2018 22:18:29 +0000 (22:18 +0000)]
Put form.profile.swap_roles into localization files.

6 years agoAdded modification info to swap role operation.
Nik Okuntseff [Fri, 23 Mar 2018 22:01:49 +0000 (22:01 +0000)]
Added modification info to swap role operation.

6 years agoAdded a Cancel button on the swap roles page.
Nik Okuntseff [Fri, 23 Mar 2018 21:46:05 +0000 (21:46 +0000)]
Added a Cancel button on the swap roles page.

6 years agoPut a swap roles link on user_edit.php.
Nik Okuntseff [Fri, 23 Mar 2018 20:26:41 +0000 (20:26 +0000)]
Put a swap roles link on user_edit.php.

6 years agoReplaced timestamp column with datetime type in tt_tmp_refs.
Nik Okuntseff [Fri, 23 Mar 2018 17:48:20 +0000 (17:48 +0000)]
Replaced timestamp column  with datetime type in tt_tmp_refs.

6 years agoReplaced getKey() with get() calls.
Nik Okuntseff [Fri, 23 Mar 2018 17:01:42 +0000 (17:01 +0000)]
Replaced getKey() with get() calls.

6 years agoSome more refactoring.
Nik Okuntseff [Fri, 23 Mar 2018 16:09:47 +0000 (16:09 +0000)]
Some more refactoring.

6 years agoSome more refactoring.
Nik Okuntseff [Fri, 23 Mar 2018 15:37:45 +0000 (15:37 +0000)]
Some more refactoring.

6 years agoRefactoring.
Nik Okuntseff [Fri, 23 Mar 2018 15:27:29 +0000 (15:27 +0000)]
Refactoring.

6 years agoRefactoring. Replacing getKey() with get().
Nik Okuntseff [Fri, 23 Mar 2018 15:03:09 +0000 (15:03 +0000)]
Refactoring. Replacing getKey() with get().

6 years agoFixed a problem with deleting teams by supplying a required parameter.
Nik Okuntseff [Fri, 23 Mar 2018 14:25:28 +0000 (14:25 +0000)]
Fixed a problem with deleting teams by supplying a required parameter.

6 years agoRefactored admin_options.php to use ttAdmin instance.
Nik Okuntseff [Fri, 23 Mar 2018 11:56:01 +0000 (11:56 +0000)]
Refactored admin_options.php to use ttAdmin instance.

6 years agoDropping timestamp columns from tt_teams and tt_users.
Nik Okuntseff [Fri, 23 Mar 2018 01:17:18 +0000 (01:17 +0000)]
Dropping timestamp columns from tt_teams and tt_users.

6 years agoUpdate for tt_users created field.
Nik Okuntseff [Fri, 23 Mar 2018 00:59:41 +0000 (00:59 +0000)]
Update for tt_users created field.

6 years agoMoving away from using the timestamp field.
Nik Okuntseff [Thu, 22 Mar 2018 23:49:20 +0000 (23:49 +0000)]
Moving away from using the timestamp field.

6 years agoIntroduced ttGroupHelper class as part of refactoring.
Nik Okuntseff [Thu, 22 Mar 2018 20:27:44 +0000 (20:27 +0000)]
Introduced ttGroupHelper class as part of refactoring.

6 years agoSwitched from timestamp to created column in a query.
Nik Okuntseff [Thu, 22 Mar 2018 19:52:28 +0000 (19:52 +0000)]
Switched from timestamp to created column in a query.

6 years agoRemoved unused function.
Nik Okuntseff [Thu, 22 Mar 2018 18:23:59 +0000 (18:23 +0000)]
Removed unused function.

6 years agoA bit more refactoring for admin.
Nik Okuntseff [Thu, 22 Mar 2018 18:21:35 +0000 (18:21 +0000)]
A bit more refactoring for admin.

6 years agoRefactored admin_team_edit.php to use ttAdmin class.
Nik Okuntseff [Thu, 22 Mar 2018 14:45:15 +0000 (14:45 +0000)]
Refactored admin_team_edit.php to use ttAdmin class.

6 years agoIntroduced ttAdmin class for admin tasks.
Nik Okuntseff [Thu, 22 Mar 2018 00:06:41 +0000 (00:06 +0000)]
Introduced ttAdmin class for admin tasks.

6 years agoAdded modification info to team updates.
Nik Okuntseff [Wed, 21 Mar 2018 22:00:26 +0000 (22:00 +0000)]
Added modification info to team updates.