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.
Nik Okuntseff [Mon, 26 Mar 2018 00:10:07 +0000 (00:10 +0000)]
Improved users page a bit in accordance with user rights.
Nik Okuntseff [Sun, 25 Mar 2018 22:31:31 +0000 (22:31 +0000)]
Access check improvements for time and expense edits and deletes.
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.
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.
Nik Okuntseff [Sun, 25 Mar 2018 20:28:44 +0000 (20:28 +0000)]
Fixed typos.
Nik Okuntseff [Sun, 25 Mar 2018 20:25:40 +0000 (20:25 +0000)]
A bit better job with access checks for charts.
Nik Okuntseff [Sun, 25 Mar 2018 16:22:57 +0000 (16:22 +0000)]
Fixed the charts tab to work better for lower roles only.
Nik Okuntseff [Sat, 24 Mar 2018 22:16:05 +0000 (22:16 +0000)]
Refactored mobile header to use access rights.
Nik Okuntseff [Sat, 24 Mar 2018 22:05:41 +0000 (22:05 +0000)]
Fixed projects menu for users with manage_projects right.
Nik Okuntseff [Sat, 24 Mar 2018 22:00:19 +0000 (22:00 +0000)]
Some fixes for desktop header.tpl.
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
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.
Nik Okuntseff [Sat, 24 Mar 2018 19:52:42 +0000 (19:52 +0000)]
More improvements to access checks.
Nik Okuntseff [Sat, 24 Mar 2018 19:37:00 +0000 (19:37 +0000)]
A bit more progress on refactoring access checks.
Nik Okuntseff [Sat, 24 Mar 2018 18:05:53 +0000 (18:05 +0000)]
Some refactoring of access checks - in progress.
Nik Okuntseff [Sat, 24 Mar 2018 16:52:06 +0000 (16:52 +0000)]
One more fix to header output.
Nik Okuntseff [Sat, 24 Mar 2018 16:48:47 +0000 (16:48 +0000)]
Fixed header to print a revamped role name.
Nik Okuntseff [Sat, 24 Mar 2018 16:17:16 +0000 (16:17 +0000)]
Added error.feature_disabled to translation files.
Nik Okuntseff [Sat, 24 Mar 2018 16:04:24 +0000 (16:04 +0000)]
Introduced feature_disabled.php for better error description.
Nik Okuntseff [Sat, 24 Mar 2018 11:22:56 +0000 (11:22 +0000)]
Added some protection from bot registrations.
Nik Okuntseff [Fri, 23 Mar 2018 23:08:40 +0000 (23:08 +0000)]
Put form.swap.hint into translation files.
Nik Okuntseff [Fri, 23 Mar 2018 22:18:29 +0000 (22:18 +0000)]
Put form.profile.swap_roles into localization files.
Nik Okuntseff [Fri, 23 Mar 2018 22:01:49 +0000 (22:01 +0000)]
Added modification info to swap role operation.
Nik Okuntseff [Fri, 23 Mar 2018 21:46:05 +0000 (21:46 +0000)]
Added a Cancel button on the swap roles page.
Nik Okuntseff [Fri, 23 Mar 2018 20:26:41 +0000 (20:26 +0000)]
Put a swap roles link on user_edit.php.
Nik Okuntseff [Fri, 23 Mar 2018 17:48:20 +0000 (17:48 +0000)]
Replaced timestamp column with datetime type in tt_tmp_refs.
Nik Okuntseff [Fri, 23 Mar 2018 17:01:42 +0000 (17:01 +0000)]
Replaced getKey() with get() calls.
Nik Okuntseff [Fri, 23 Mar 2018 16:09:47 +0000 (16:09 +0000)]
Some more refactoring.
Nik Okuntseff [Fri, 23 Mar 2018 15:37:45 +0000 (15:37 +0000)]
Some more refactoring.
Nik Okuntseff [Fri, 23 Mar 2018 15:27:29 +0000 (15:27 +0000)]
Refactoring.
Nik Okuntseff [Fri, 23 Mar 2018 15:03:09 +0000 (15:03 +0000)]
Refactoring. Replacing getKey() with get().
Nik Okuntseff [Fri, 23 Mar 2018 14:25:28 +0000 (14:25 +0000)]
Fixed a problem with deleting teams by supplying a required parameter.
Nik Okuntseff [Fri, 23 Mar 2018 11:56:01 +0000 (11:56 +0000)]
Refactored admin_options.php to use ttAdmin instance.
Nik Okuntseff [Fri, 23 Mar 2018 01:17:18 +0000 (01:17 +0000)]
Dropping timestamp columns from tt_teams and tt_users.
Nik Okuntseff [Fri, 23 Mar 2018 00:59:41 +0000 (00:59 +0000)]
Update for tt_users created field.
Nik Okuntseff [Thu, 22 Mar 2018 23:49:20 +0000 (23:49 +0000)]
Moving away from using the timestamp field.
Nik Okuntseff [Thu, 22 Mar 2018 20:27:44 +0000 (20:27 +0000)]
Introduced ttGroupHelper class as part of refactoring.
Nik Okuntseff [Thu, 22 Mar 2018 19:52:28 +0000 (19:52 +0000)]
Switched from timestamp to created column in a query.
Nik Okuntseff [Thu, 22 Mar 2018 18:23:59 +0000 (18:23 +0000)]
Removed unused function.
Nik Okuntseff [Thu, 22 Mar 2018 18:21:35 +0000 (18:21 +0000)]
A bit more refactoring for admin.
Nik Okuntseff [Thu, 22 Mar 2018 14:45:15 +0000 (14:45 +0000)]
Refactored admin_team_edit.php to use ttAdmin class.
Nik Okuntseff [Thu, 22 Mar 2018 00:06:41 +0000 (00:06 +0000)]
Introduced ttAdmin class for admin tasks.
Nik Okuntseff [Wed, 21 Mar 2018 22:00:26 +0000 (22:00 +0000)]
Added modification info to team updates.
Nik Okuntseff [Wed, 21 Mar 2018 21:11:48 +0000 (21:11 +0000)]
Added handling of audit info to user registration.
Nik Okuntseff [Wed, 21 Mar 2018 19:52:10 +0000 (19:52 +0000)]
Updated db version.
Nik Okuntseff [Wed, 21 Mar 2018 19:50:58 +0000 (19:50 +0000)]
Introduced audit fields in tt_teams table.
Nik Okuntseff [Wed, 21 Mar 2018 19:12:59 +0000 (19:12 +0000)]
Refactored register.php by encapsulating stuff in ttRegistrator class.
Nik Okuntseff [Wed, 21 Mar 2018 17:18:39 +0000 (17:18 +0000)]
Started to work on ttRegistrator class to encapsulate restration related tasks.
Nik Okuntseff [Wed, 21 Mar 2018 15:27:02 +0000 (15:27 +0000)]
Improved a comment for translators.
Nik Okuntseff [Wed, 21 Mar 2018 15:20:07 +0000 (15:20 +0000)]
Improved a comment for translators in translation files.
Nik Okuntseff [Wed, 21 Mar 2018 03:55:26 +0000 (03:55 +0000)]
Removed usage of dropped timestamp field in import.
Nik Okuntseff [Mon, 19 Mar 2018 21:29:39 +0000 (21:29 +0000)]
Added form.swap.swap_with to translation files.
Nik Okuntseff [Mon, 19 Mar 2018 21:17:50 +0000 (21:17 +0000)]
Added title.swap_roles to translation files.
Nik Okuntseff [Mon, 19 Mar 2018 19:17:55 +0000 (19:17 +0000)]
Added swap roles feature.
Nik Okuntseff [Mon, 19 Mar 2018 17:48:35 +0000 (17:48 +0000)]
Removed old timestamp field from tt_log.
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.
Nik Okuntseff [Mon, 19 Mar 2018 15:19:10 +0000 (15:19 +0000)]
Fixing sending fav reports.
Nik Okuntseff [Mon, 19 Mar 2018 15:10:36 +0000 (15:10 +0000)]
Removed email display from cron.php as a security fix.
Nik Okuntseff [Mon, 19 Mar 2018 15:01:57 +0000 (15:01 +0000)]
Work in progress on fav reports to include IP info.
Nik Okuntseff [Mon, 19 Mar 2018 14:39:05 +0000 (14:39 +0000)]
Fixed a problem in IP field 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.
Nik Okuntseff [Mon, 19 Mar 2018 14:21:26 +0000 (14:21 +0000)]
Work in progress including IP in fav reports.
Nik Okuntseff [Mon, 19 Mar 2018 14:00:11 +0000 (14:00 +0000)]
Introduced show_ip field in tt_fav_reports.
Nik Okuntseff [Mon, 19 Mar 2018 13:20:44 +0000 (13:20 +0000)]
Added handling of audit info for expenses.
Nik Okuntseff [Mon, 19 Mar 2018 12:48:43 +0000 (12:48 +0000)]
Intoduced audit fields for expenses.
Nik Okuntseff [Mon, 19 Mar 2018 03:01:21 +0000 (03:01 +0000)]
Fixed report exports to include the IP field.
Nik Okuntseff [Mon, 19 Mar 2018 00:38:06 +0000 (00:38 +0000)]
Introduced label.ip in localization files.
Nik Okuntseff [Sun, 18 Mar 2018 23:35:02 +0000 (23:35 +0000)]
Work in progress in IP 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.
Nik Okuntseff [Sun, 18 Mar 2018 20:48:13 +0000 (20:48 +0000)]
Added audit info to time log.
Nik Okuntseff [Sun, 18 Mar 2018 20:13:50 +0000 (20:13 +0000)]
Added audit fields to tt_log table.
Nik Okuntseff [Sun, 18 Mar 2018 18:13:51 +0000 (18:13 +0000)]
Added last access handling.
Nik Okuntseff [Sun, 18 Mar 2018 17:53:43 +0000 (17:53 +0000)]
Added audit info to user update operation.
Nik Okuntseff [Sun, 18 Mar 2018 17:32:42 +0000 (17:32 +0000)]
Added audit info to user creation operation.
Nik Okuntseff [Sun, 18 Mar 2018 17:07:03 +0000 (17:07 +0000)]
Updated version.
Nik Okuntseff [Sun, 18 Mar 2018 17:02:39 +0000 (17:02 +0000)]
Renamed a field in database.
Nik Okuntseff [Sun, 18 Mar 2018 16:23:09 +0000 (16:23 +0000)]
Introduced audit fields for users.
Nik Okuntseff [Sun, 18 Mar 2018 14:27:36 +0000 (14:27 +0000)]
Some refactoring.
Nik Okuntseff [Sat, 17 Mar 2018 21:36:21 +0000 (21:36 +0000)]
Fixed export and import. Now teams should be imported with roles.
Nik Okuntseff [Sat, 17 Mar 2018 21:08:26 +0000 (21:08 +0000)]
A few fixes to export-import.
Nik Okuntseff [Sat, 17 Mar 2018 19:59:32 +0000 (19:59 +0000)]
Fixed team export by assigning role id 0 to top managers.
Nik Okuntseff [Sat, 17 Mar 2018 18:59:50 +0000 (18:59 +0000)]
Fixed team export to include revamped roles.
Nik Okuntseff [Sat, 17 Mar 2018 15:13:46 +0000 (15:13 +0000)]
Introduced override_own_date_lock right.
Nik Okuntseff [Fri, 16 Mar 2018 22:49:51 +0000 (22:49 +0000)]
Initial implementation of role editor.
Nik Okuntseff [Fri, 16 Mar 2018 22:20:22 +0000 (22:20 +0000)]
Dropped legacy role field.
Nik Okuntseff [Fri, 16 Mar 2018 21:54:12 +0000 (21:54 +0000)]
Fixed users page for revamped roles.
Nik Okuntseff [Fri, 16 Mar 2018 21:26:54 +0000 (21:26 +0000)]
Added code to update legacy managers to top managers.
Nik Okuntseff [Fri, 16 Mar 2018 18:41:32 +0000 (18:41 +0000)]
Introduced override_own_punch_mode right.
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.
Nik Okuntseff [Fri, 16 Mar 2018 15:11:58 +0000 (15:11 +0000)]
Localized top manager role name in list of active users.
Nik Okuntseff [Fri, 16 Mar 2018 00:17:08 +0000 (00:17 +0000)]
Fixed creating and editing teams by admin - broken during roles revamp.