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

6 years agoAdded handling of audit info to user registration.
Nik Okuntseff [Wed, 21 Mar 2018 21:11:48 +0000 (21:11 +0000)]
Added handling of audit info to user registration.

6 years agoUpdated db version.
Nik Okuntseff [Wed, 21 Mar 2018 19:52:10 +0000 (19:52 +0000)]
Updated db version.

6 years agoIntroduced audit fields in tt_teams table.
Nik Okuntseff [Wed, 21 Mar 2018 19:50:58 +0000 (19:50 +0000)]
Introduced audit fields in tt_teams table.

6 years agoRefactored register.php by encapsulating stuff in ttRegistrator class.
Nik Okuntseff [Wed, 21 Mar 2018 19:12:59 +0000 (19:12 +0000)]
Refactored register.php by encapsulating stuff in ttRegistrator class.

6 years agoStarted to work on ttRegistrator class to encapsulate restration related tasks.
Nik Okuntseff [Wed, 21 Mar 2018 17:18:39 +0000 (17:18 +0000)]
Started to work on ttRegistrator class to encapsulate restration related tasks.

6 years agoImproved a comment for translators.
Nik Okuntseff [Wed, 21 Mar 2018 15:27:02 +0000 (15:27 +0000)]
Improved a comment for translators.

6 years agoImproved a comment for translators in translation files.
Nik Okuntseff [Wed, 21 Mar 2018 15:20:07 +0000 (15:20 +0000)]
Improved a comment for translators in translation files.

6 years agoRemoved usage of dropped timestamp field in import.
Nik Okuntseff [Wed, 21 Mar 2018 03:55:26 +0000 (03:55 +0000)]
Removed usage of dropped timestamp field in import.

6 years agoAdded form.swap.swap_with to translation files.
Nik Okuntseff [Mon, 19 Mar 2018 21:29:39 +0000 (21:29 +0000)]
Added form.swap.swap_with to translation files.

6 years agoAdded title.swap_roles to translation files.
Nik Okuntseff [Mon, 19 Mar 2018 21:17:50 +0000 (21:17 +0000)]
Added title.swap_roles to translation files.

6 years agoAdded swap roles feature.
Nik Okuntseff [Mon, 19 Mar 2018 19:17:55 +0000 (19:17 +0000)]
Added swap roles feature.

6 years agoRemoved old timestamp field from tt_log.
Nik Okuntseff [Mon, 19 Mar 2018 17:48:35 +0000 (17:48 +0000)]
Removed old timestamp field from tt_log.

6 years agoFixed export-import of fav reports to inclide show_ip and show_paid fields.
Nik Okuntseff [Mon, 19 Mar 2018 15:30:19 +0000 (15:30 +0000)]
Fixed export-import of fav reports to inclide show_ip and show_paid fields.

6 years agoFixing sending fav reports.
Nik Okuntseff [Mon, 19 Mar 2018 15:19:10 +0000 (15:19 +0000)]
Fixing sending fav reports.

6 years agoRemoved email display from cron.php as a security fix.
Nik Okuntseff [Mon, 19 Mar 2018 15:10:36 +0000 (15:10 +0000)]
Removed email display from cron.php as a security fix.

6 years agoWork in progress on fav reports to include IP info.
Nik Okuntseff [Mon, 19 Mar 2018 15:01:57 +0000 (15:01 +0000)]
Work in progress on fav reports to include IP info.

6 years agoFixed a problem in IP field in emailed reports.
Nik Okuntseff [Mon, 19 Mar 2018 14:39:05 +0000 (14:39 +0000)]
Fixed a problem in IP field in emailed reports.

6 years agoWork in progress on including IP in emailed reports.
Nik Okuntseff [Mon, 19 Mar 2018 14:34:14 +0000 (14:34 +0000)]
Work in progress on including IP in emailed reports.

6 years agoWork in progress including IP in fav reports.
Nik Okuntseff [Mon, 19 Mar 2018 14:21:26 +0000 (14:21 +0000)]
Work in progress including IP in fav reports.

6 years agoIntroduced show_ip field in tt_fav_reports.
Nik Okuntseff [Mon, 19 Mar 2018 14:00:11 +0000 (14:00 +0000)]
Introduced show_ip field in tt_fav_reports.

6 years agoAdded handling of audit info for expenses.
Nik Okuntseff [Mon, 19 Mar 2018 13:20:44 +0000 (13:20 +0000)]
Added handling of audit info for expenses.

6 years agoIntoduced audit fields for expenses.
Nik Okuntseff [Mon, 19 Mar 2018 12:48:43 +0000 (12:48 +0000)]
Intoduced audit fields for expenses.

6 years agoFixed report exports to include the IP field.
Nik Okuntseff [Mon, 19 Mar 2018 03:01:21 +0000 (03:01 +0000)]
Fixed report exports to include the IP field.

6 years agoIntroduced label.ip in localization files.
Nik Okuntseff [Mon, 19 Mar 2018 00:38:06 +0000 (00:38 +0000)]
Introduced label.ip in localization files.

6 years agoWork in progress in IP info in reports.
Nik Okuntseff [Sun, 18 Mar 2018 23:35:02 +0000 (23:35 +0000)]
Work in progress in IP info in reports.

6 years agoWork in progress integrating IP audit info in reports.
Nik Okuntseff [Sun, 18 Mar 2018 23:22:20 +0000 (23:22 +0000)]
Work in progress integrating IP audit info in reports.

6 years agoAdded audit info to time log.
Nik Okuntseff [Sun, 18 Mar 2018 20:48:13 +0000 (20:48 +0000)]
Added audit info to time log.

6 years agoAdded audit fields to tt_log table.
Nik Okuntseff [Sun, 18 Mar 2018 20:13:50 +0000 (20:13 +0000)]
Added audit fields to tt_log table.

6 years agoAdded last access handling.
Nik Okuntseff [Sun, 18 Mar 2018 18:13:51 +0000 (18:13 +0000)]
Added last access handling.

6 years agoAdded audit info to user update operation.
Nik Okuntseff [Sun, 18 Mar 2018 17:53:43 +0000 (17:53 +0000)]
Added audit info to user update operation.

6 years agoAdded audit info to user creation operation.
Nik Okuntseff [Sun, 18 Mar 2018 17:32:42 +0000 (17:32 +0000)]
Added audit info to user creation operation.

6 years agoUpdated version.
Nik Okuntseff [Sun, 18 Mar 2018 17:07:03 +0000 (17:07 +0000)]
Updated version.

6 years agoRenamed a field in database.
Nik Okuntseff [Sun, 18 Mar 2018 17:02:39 +0000 (17:02 +0000)]
Renamed a field in database.

6 years agoIntroduced audit fields for users.
Nik Okuntseff [Sun, 18 Mar 2018 16:23:09 +0000 (16:23 +0000)]
Introduced audit fields for users.

6 years agoSome refactoring.
Nik Okuntseff [Sun, 18 Mar 2018 14:27:36 +0000 (14:27 +0000)]
Some refactoring.

6 years agoFixed export and import. Now teams should be imported with roles.
Nik Okuntseff [Sat, 17 Mar 2018 21:36:21 +0000 (21:36 +0000)]
Fixed export and import. Now teams should be imported with roles.

6 years agoA few fixes to export-import.
Nik Okuntseff [Sat, 17 Mar 2018 21:08:26 +0000 (21:08 +0000)]
A few fixes to export-import.

6 years agoFixed team export by assigning role id 0 to top managers.
Nik Okuntseff [Sat, 17 Mar 2018 19:59:32 +0000 (19:59 +0000)]
Fixed team export by assigning role id 0 to top managers.

6 years agoFixed team export to include revamped roles.
Nik Okuntseff [Sat, 17 Mar 2018 18:59:50 +0000 (18:59 +0000)]
Fixed team export to include revamped roles.

6 years agoIntroduced override_own_date_lock right.
Nik Okuntseff [Sat, 17 Mar 2018 15:13:46 +0000 (15:13 +0000)]
Introduced override_own_date_lock right.

6 years agoInitial implementation of role editor.
Nik Okuntseff [Fri, 16 Mar 2018 22:49:51 +0000 (22:49 +0000)]
Initial implementation of role editor.

6 years agoDropped legacy role field.
Nik Okuntseff [Fri, 16 Mar 2018 22:20:22 +0000 (22:20 +0000)]
Dropped legacy role field.

6 years agoFixed users page for revamped roles.
Nik Okuntseff [Fri, 16 Mar 2018 21:54:12 +0000 (21:54 +0000)]
Fixed users page for revamped roles.

6 years agoAdded code to update legacy managers to top managers.
Nik Okuntseff [Fri, 16 Mar 2018 21:26:54 +0000 (21:26 +0000)]
Added code to update legacy managers to top managers.

6 years agoIntroduced override_own_punch_mode right.
Nik Okuntseff [Fri, 16 Mar 2018 18:41:32 +0000 (18:41 +0000)]
Introduced override_own_punch_mode right.

6 years agoChanged the meaning of override_punch_mode to apply only to lower roles.
Nik Okuntseff [Fri, 16 Mar 2018 16:11:18 +0000 (16:11 +0000)]
Changed the meaning of override_punch_mode to apply only to lower roles.

6 years agoLocalized top manager role name in list of active users.
Nik Okuntseff [Fri, 16 Mar 2018 15:11:58 +0000 (15:11 +0000)]
Localized top manager role name in list of active users.

6 years agoFixed creating and editing teams by admin - broken during roles revamp.
Nik Okuntseff [Fri, 16 Mar 2018 00:17:08 +0000 (00:17 +0000)]
Fixed creating and editing teams by admin - broken during roles revamp.

6 years agoA few bugs fixed related to role revamp.
Nik Okuntseff [Thu, 15 Mar 2018 21:17:45 +0000 (21:17 +0000)]
A few bugs fixed related to role revamp.

6 years agoRemoved not required field from a query.
Nik Okuntseff [Thu, 15 Mar 2018 15:53:16 +0000 (15:53 +0000)]
Removed not required field from a query.

6 years agoSome cleanup and refactoring of role_id update.
Nik Okuntseff [Thu, 15 Mar 2018 15:47:23 +0000 (15:47 +0000)]
Some cleanup and refactoring of role_id update.

6 years agoGetting rid of the dependency on the legacy role value for users.
Nik Okuntseff [Thu, 15 Mar 2018 00:14:59 +0000 (00:14 +0000)]
Getting rid of the dependency on the legacy role value for users.

6 years agoWrote a function to update role_id for all active and inactive users.
Nik Okuntseff [Wed, 14 Mar 2018 22:29:04 +0000 (22:29 +0000)]
Wrote a function to update role_id for all active and inactive users.

6 years agoA bit more role revamp related refactoring.
Nik Okuntseff [Wed, 14 Mar 2018 17:55:26 +0000 (17:55 +0000)]
A bit more role revamp related refactoring.