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

6 years agoAdded override_date_lock right to supervisors.
Nik Okuntseff [Wed, 14 Mar 2018 16:47:08 +0000 (16:47 +0000)]
Added override_date_lock right to supervisors.

6 years agoSome more refactoring.
Nik Okuntseff [Wed, 14 Mar 2018 16:07:50 +0000 (16:07 +0000)]
Some more refactoring.

6 years agoSome more refactoring.
Nik Okuntseff [Wed, 14 Mar 2018 15:27:44 +0000 (15:27 +0000)]
Some more refactoring.

6 years agoA bit more progress on getting rid of canManageTeam.
Nik Okuntseff [Wed, 14 Mar 2018 15:09:05 +0000 (15:09 +0000)]
A bit more progress on getting rid of canManageTeam.

6 years agoA bit more progress on roles revamp.
Nik Okuntseff [Wed, 14 Mar 2018 14:50:46 +0000 (14:50 +0000)]
A bit more progress on roles revamp.

6 years agoA bit more progress on getting rid of canManageTeam.
Nik Okuntseff [Wed, 14 Mar 2018 02:16:35 +0000 (02:16 +0000)]
A bit more progress on getting rid of canManageTeam.

6 years agoA few more replacements for canManageTeam.
Nik Okuntseff [Tue, 13 Mar 2018 23:55:32 +0000 (23:55 +0000)]
A few more replacements for canManageTeam.

6 years agoStarted to replace canManageTeam calls with right checks.
Nik Okuntseff [Tue, 13 Mar 2018 22:30:55 +0000 (22:30 +0000)]
Started to replace canManageTeam calls with right checks.

6 years agoSplit data_entry right into track_time and track_expenses.
Nik Okuntseff [Tue, 13 Mar 2018 21:22:56 +0000 (21:22 +0000)]
Split data_entry right into track_time and track_expenses.

6 years agoMore work on roles revamp. Removed rights_mask from User class.
Nik Okuntseff [Tue, 13 Mar 2018 19:30:42 +0000 (19:30 +0000)]
More work on roles revamp. Removed rights_mask from User class.

6 years agoAdjusted file permissions to hopefully address error 500 with Hostmonster.
Nik Okuntseff [Tue, 13 Mar 2018 17:12:31 +0000 (17:12 +0000)]
Adjusted file permissions to hopefully address error 500 with Hostmonster.

6 years agoAccess checks re-done using role rights.
Nik Okuntseff [Tue, 13 Mar 2018 00:02:32 +0000 (00:02 +0000)]
Access checks re-done using role rights.

6 years agoSecurity fix for invoice view.
Nik Okuntseff [Mon, 12 Mar 2018 19:21:34 +0000 (19:21 +0000)]
Security fix for invoice view.

6 years agoImproved dbinstall.php to avoid potential corruption of rights.
Nik Okuntseff [Mon, 12 Mar 2018 18:33:01 +0000 (18:33 +0000)]
Improved dbinstall.php to avoid potential corruption of rights.

6 years agoExtended right set for more flexibility.
Nik Okuntseff [Mon, 12 Mar 2018 18:10:55 +0000 (18:10 +0000)]
Extended right set for more flexibility.

6 years agoA bit more progress on redoing access checks.
Nik Okuntseff [Mon, 12 Mar 2018 15:25:50 +0000 (15:25 +0000)]
A bit more progress on redoing access checks.

6 years agoWork in progress redoing access checks.
Nik Okuntseff [Mon, 12 Mar 2018 15:08:54 +0000 (15:08 +0000)]
Work in progress redoing access checks.

6 years agoStarted redoing access checks using role rights.
Nik Okuntseff [Mon, 12 Mar 2018 14:46:34 +0000 (14:46 +0000)]
Started redoing access checks using role rights.

6 years agoAcquire user rights from the database on User creation.
Nik Okuntseff [Mon, 12 Mar 2018 14:15:22 +0000 (14:15 +0000)]
Acquire user rights from the database on User creation.

6 years agoSome more renaming.
Nik Okuntseff [Mon, 12 Mar 2018 13:56:42 +0000 (13:56 +0000)]
Some more renaming.

6 years agoRenamed a User class property as part of roles revamp work.
Nik Okuntseff [Mon, 12 Mar 2018 13:46:17 +0000 (13:46 +0000)]
Renamed a User class property as part of roles revamp work.

6 years agoAnother try to migrate legacy role on system entry.
Nik Okuntseff [Mon, 12 Mar 2018 00:10:52 +0000 (00:10 +0000)]
Another try to migrate legacy role on system entry.