timetracker.git
7 years agoRefactoring - renamed a few things.
anuko [Tue, 28 Feb 2017 18:24:44 +0000 (18:24 +0000)]
Refactoring - renamed a few things.

7 years agoRemoving unused stuff.
anuko [Tue, 28 Feb 2017 18:13:53 +0000 (18:13 +0000)]
Removing unused stuff.

7 years agoRefactoring - removed unused stuff.
anuko [Tue, 28 Feb 2017 17:34:16 +0000 (17:34 +0000)]
Refactoring - removed unused stuff.

7 years agoSome renaming.
anuko [Tue, 28 Feb 2017 16:09:46 +0000 (16:09 +0000)]
Some renaming.

7 years agoRefactoring - renamed a variable.
anuko [Tue, 28 Feb 2017 15:59:44 +0000 (15:59 +0000)]
Refactoring - renamed a variable.

7 years agoRemoved unused member variable.
anuko [Tue, 28 Feb 2017 14:23:57 +0000 (14:23 +0000)]
Removed unused member variable.

7 years agoRefactoring. Moved a member out of base class.
anuko [Tue, 28 Feb 2017 14:11:24 +0000 (14:11 +0000)]
Refactoring. Moved a member out of base class.

7 years agoRefactoring - renaming things.
anuko [Mon, 20 Feb 2017 01:06:53 +0000 (01:06 +0000)]
Refactoring - renaming things.

7 years agoRefactoring - removedunused stuff and some renaming.
anuko [Mon, 20 Feb 2017 00:33:01 +0000 (00:33 +0000)]
Refactoring - removedunused stuff and some renaming.

7 years agoRemoved unused stuff.
anuko [Mon, 20 Feb 2017 00:08:44 +0000 (00:08 +0000)]
Removed unused stuff.

7 years agoRefactoring - removed unused tabindex.
anuko [Mon, 20 Feb 2017 00:04:30 +0000 (00:04 +0000)]
Refactoring - removed unused tabindex.

7 years agoRefactoring - renamed a couple of variables.
anuko [Sun, 19 Feb 2017 23:55:42 +0000 (23:55 +0000)]
Refactoring - renamed a couple of variables.

7 years agoOngoing refactoring - renamed a variable.
anuko [Sun, 19 Feb 2017 22:14:28 +0000 (22:14 +0000)]
Ongoing refactoring - renamed a variable.

7 years agoOngoing refactoring of form controls.
anuko [Sun, 19 Feb 2017 21:33:27 +0000 (21:33 +0000)]
Ongoing refactoring of form controls.

7 years agoA bit of reuse of old Danish strings.
anuko [Sun, 19 Feb 2017 19:37:13 +0000 (19:37 +0000)]
A bit of reuse of old Danish strings.

7 years agoMore refactoring in the Danish file.
anuko [Sun, 19 Feb 2017 19:17:11 +0000 (19:17 +0000)]
More refactoring in the Danish file.

7 years agoMore refactoring in Danish file.
anuko [Sun, 19 Feb 2017 18:44:02 +0000 (18:44 +0000)]
More refactoring in Danish file.

7 years agoRefactoring in Danish file.
anuko [Sun, 19 Feb 2017 18:16:13 +0000 (18:16 +0000)]
Refactoring in Danish file.

7 years agoSome refactoring in the Danish translation file.
anuko [Sun, 19 Feb 2017 17:42:38 +0000 (17:42 +0000)]
Some refactoring in the Danish translation file.

7 years agoUpdate of translation in da.lang.php (#30)
Jens Brinch [Sun, 19 Feb 2017 16:37:58 +0000 (17:37 +0100)]
Update of translation in da.lang.php (#30)

Have filled in some missing translations and updated some with a new translation, i.e. correction of spelling errors.

7 years agoMore refactoring in Form.class.php.
anuko [Thu, 16 Feb 2017 21:37:42 +0000 (21:37 +0000)]
More refactoring in Form.class.php.

7 years agoRefactoring - removed reference return types from a couple of functions to keep thing...
anuko [Thu, 16 Feb 2017 21:16:17 +0000 (21:16 +0000)]
Refactoring - removed reference return types from a couple of functions to keep things simple.

7 years agoA bit more refactoring in forms to make them leaner.
anuko [Thu, 16 Feb 2017 20:56:26 +0000 (20:56 +0000)]
A bit more refactoring in forms to make them leaner.

7 years agoSmall scale refactoring - renamed a variable.
anuko [Thu, 16 Feb 2017 20:23:41 +0000 (20:23 +0000)]
Small scale refactoring - renamed a variable.

7 years agoResumed refactoring forms, hopefully without breaking reports this time.
anuko [Thu, 16 Feb 2017 20:01:22 +0000 (20:01 +0000)]
Resumed refactoring forms, hopefully without breaking reports this time.

7 years agoRolling back changes in previous 2 commits because we broke reports.
anuko [Thu, 16 Feb 2017 19:08:19 +0000 (19:08 +0000)]
Rolling back changes in previous 2 commits because we broke reports.

7 years agoSoem refactoring to keep things a bit more consistent.
anuko [Thu, 16 Feb 2017 16:12:33 +0000 (16:12 +0000)]
Soem refactoring to keep things a bit more consistent.

7 years agoSome cleanup.
anuko [Thu, 16 Feb 2017 15:41:24 +0000 (15:41 +0000)]
Some cleanup.

7 years agoDutch translation improved.
anuko [Tue, 14 Feb 2017 17:15:33 +0000 (17:15 +0000)]
Dutch translation improved.

7 years agoInitial implementation of predefined expenses.
anuko [Sun, 12 Feb 2017 18:23:28 +0000 (18:23 +0000)]
Initial implementation of predefined expenses.

7 years agoAdded predefined expense selector onto the expenses.php page.
anuko [Sun, 12 Feb 2017 18:09:06 +0000 (18:09 +0000)]
Added predefined expense selector onto the expenses.php page.

7 years agoAdded an edit form for predefined expenses.
anuko [Sun, 12 Feb 2017 15:55:37 +0000 (15:55 +0000)]
Added an edit form for predefined expenses.

7 years agoAdded a delete form for predefined expenses.
anuko [Sun, 12 Feb 2017 15:29:53 +0000 (15:29 +0000)]
Added a delete form for predefined expenses.

7 years agoWork in progress on predefined expenses.
anuko [Sun, 12 Feb 2017 15:18:01 +0000 (15:18 +0000)]
Work in progress on predefined expenses.

7 years agoWork in progress on predefined expenses.
anuko [Sun, 12 Feb 2017 15:12:40 +0000 (15:12 +0000)]
Work in progress on predefined expenses.

7 years agoWork in progress on predefined expenses.
anuko [Sun, 12 Feb 2017 15:04:01 +0000 (15:04 +0000)]
Work in progress on predefined expenses.

7 years agoWork in progress on predefined expenses.
anuko [Sun, 12 Feb 2017 14:44:49 +0000 (14:44 +0000)]
Work in progress on predefined expenses.

7 years agoWork in progress on predefined expenses.
anuko [Sun, 12 Feb 2017 14:30:19 +0000 (14:30 +0000)]
Work in progress on predefined expenses.

7 years agoChanged data type for tt_log comment to TEXT because of _union all_ problems with...
anuko [Sat, 11 Feb 2017 19:38:24 +0000 (19:38 +0000)]
Changed data type for tt_log comment to TEXT because of _union all_ problems with some MySQL installations, specifically version 5.0.95 where cyrillic expense names were corrupted on reports.

7 years agoMore refactoring.
anuko [Tue, 7 Feb 2017 01:04:41 +0000 (01:04 +0000)]
More refactoring.

7 years agoA bit more refactoring.
anuko [Mon, 6 Feb 2017 21:42:59 +0000 (21:42 +0000)]
A bit more refactoring.

7 years agoMore refactoring in Form.class.php.
anuko [Mon, 6 Feb 2017 21:05:20 +0000 (21:05 +0000)]
More refactoring in Form.class.php.

7 years agoA bit of refactoring in Form.class.php.
anuko [Mon, 6 Feb 2017 17:26:59 +0000 (17:26 +0000)]
A bit of refactoring in Form.class.php.

7 years agoRefactored FloatField.class.php.
anuko [Sun, 5 Feb 2017 19:53:32 +0000 (19:53 +0000)]
Refactored FloatField.class.php.

7 years agoFixed constructor calls for FloatField elements to have only one parameter.
anuko [Sun, 5 Feb 2017 19:21:38 +0000 (19:21 +0000)]
Fixed constructor calls for FloatField elements to have only one parameter.

7 years agoRemoved unused stuff.
anuko [Sun, 5 Feb 2017 17:50:47 +0000 (17:50 +0000)]
Removed unused stuff.

7 years agoRefactoring - formatting improvements.
anuko [Sun, 5 Feb 2017 16:02:38 +0000 (16:02 +0000)]
Refactoring - formatting improvements.

7 years agoRefactored ActionErrors.class.php.
anuko [Sun, 5 Feb 2017 15:29:36 +0000 (15:29 +0000)]
Refactored ActionErrors.class.php.

7 years agoRenamed a function for clarity.
anuko [Sun, 5 Feb 2017 00:44:17 +0000 (00:44 +0000)]
Renamed a function for clarity.

7 years agoRefactored Mailer.class.php.
anuko [Sun, 5 Feb 2017 00:40:45 +0000 (00:40 +0000)]
Refactored Mailer.class.php.

7 years agoAdded MIME decoder for SENDER.
anuko [Sat, 4 Feb 2017 20:42:36 +0000 (20:42 +0000)]
Added MIME decoder for SENDER.

7 years agoShared time_script.tpl in mobile timer.tpl as well.
anuko [Sun, 29 Jan 2017 20:53:17 +0000 (20:53 +0000)]
Shared time_script.tpl in mobile timer.tpl as well.

7 years agoIntroduced time_script.tpl for shared script used in time.tpl and time_edit.tpl ...
anuko [Sun, 29 Jan 2017 19:56:37 +0000 (19:56 +0000)]
Introduced time_script.tpl for shared script used in time.tpl and time_edit.tpl - both mobile and regular.

7 years agoAdded missing declarations for better JavaScript.
anuko [Sun, 29 Jan 2017 18:07:53 +0000 (18:07 +0000)]
Added missing declarations for better JavaScript.

7 years agoA bit of cleanup in JavaScript, removed repeated var declarations.
anuko [Sun, 29 Jan 2017 17:28:58 +0000 (17:28 +0000)]
A bit of cleanup in JavaScript, removed repeated var declarations.

7 years agoA bit more consistent usage of quotes in template files.
anuko [Mon, 23 Jan 2017 00:29:53 +0000 (00:29 +0000)]
A bit more consistent usage of quotes in template files.

7 years agoSimplified templates by using the default Smarty escape calls.
anuko [Sun, 22 Jan 2017 23:36:18 +0000 (23:36 +0000)]
Simplified templates by using the default Smarty escape calls.

7 years agoModified templates to use newline in the end of file.
anuko [Sun, 22 Jan 2017 22:52:43 +0000 (22:52 +0000)]
Modified templates to use newline in the end of file.

7 years agoFixed charts to allow display of totals for unassigned projects and tasks.
anuko [Tue, 17 Jan 2017 22:01:30 +0000 (22:01 +0000)]
Fixed charts to allow display of totals for unassigned projects and tasks.

7 years agoAllowed null tasks in project and tasks tracking mode.
anuko [Tue, 17 Jan 2017 21:18:26 +0000 (21:18 +0000)]
Allowed null tasks in project and tasks tracking mode.

7 years agoMade sorting case insensitive for more situations.
anuko [Fri, 13 Jan 2017 20:41:33 +0000 (20:41 +0000)]
Made sorting case insensitive for more situations.

7 years agoFixed ordering of projects.
anuko [Fri, 13 Jan 2017 18:26:48 +0000 (18:26 +0000)]
Fixed ordering of projects.

7 years agoDutch translation improved.
anuko [Thu, 17 Nov 2016 16:47:47 +0000 (16:47 +0000)]
Dutch translation improved.

7 years agoCentered mobile pages on screen.
anuko [Sat, 5 Nov 2016 20:23:45 +0000 (20:23 +0000)]
Centered mobile pages on screen.

7 years agoUpdate the 101% table height to use a fixed scrollbar via CSS (#28)
Andréas Lundgren [Mon, 24 Oct 2016 14:15:04 +0000 (16:15 +0200)]
Update the 101% table height to use a fixed scrollbar via CSS (#28)

Tested on Windows 10 on latest Chrome, Firefox 43+47+48+49, Internet Explorer 11+10 (and emulated 9+8+7) and Microsoft Edge 38.

7 years agoUpdate filename for exported reports to the users language (#27)
Andréas Lundgren [Mon, 24 Oct 2016 14:11:05 +0000 (16:11 +0200)]
Update filename for exported reports to the users language (#27)

* Update filename for exported reports to the users language

Now defaults to "report" in the users language, or English if the word isn't set. Also includes start date and end date for the generated report.

{report}_{start_date}_{end_date}.xml/csv/pdf

* Add missing dot to filename

7 years agoFixing white space.
anuko [Mon, 24 Oct 2016 11:11:24 +0000 (11:11 +0000)]
Fixing white space.

7 years agoFix the last deprecation notices on class names for PHP 7+ (#26)
Andréas Lundgren [Mon, 24 Oct 2016 10:53:58 +0000 (12:53 +0200)]
Fix the last deprecation notices on class names for PHP 7+ (#26)

* Modified classes: ttSysConfig, ttUser and CustomFields plugin

7 years agoUpdate Swedish translation (#25)
Andréas Lundgren [Mon, 24 Oct 2016 10:45:01 +0000 (12:45 +0200)]
Update Swedish translation (#25)

* Uncompleted indicators section

7 years agoA bit of cleanup in Catalan file.
anuko [Mon, 24 Oct 2016 01:52:27 +0000 (01:52 +0000)]
A bit of cleanup in Catalan file.

7 years agoSome improvements in localization files.
anuko [Sun, 23 Oct 2016 17:15:02 +0000 (17:15 +0000)]
Some improvements in localization files.

7 years agoDutch translation improved.
anuko [Sun, 23 Oct 2016 16:56:03 +0000 (16:56 +0000)]
Dutch translation improved.

7 years agoFinished renaming variables after PR#24 merge.
anuko [Sun, 23 Oct 2016 16:48:24 +0000 (16:48 +0000)]
Finished renaming variables after PR#24 merge.

7 years agoMore renaming.
anuko [Sun, 23 Oct 2016 16:35:02 +0000 (16:35 +0000)]
More renaming.

7 years agoWork in progress renaming variables after PR#24 merge.
anuko [Sun, 23 Oct 2016 16:26:58 +0000 (16:26 +0000)]
Work in progress renaming variables after PR#24 merge.

7 years agoSome more renaming.
anuko [Sun, 23 Oct 2016 16:02:16 +0000 (16:02 +0000)]
Some more renaming.

7 years agoWork in progress renaming things.
anuko [Sun, 23 Oct 2016 14:48:39 +0000 (14:48 +0000)]
Work in progress renaming things.

7 years agoSome more renaming.
anuko [Sun, 23 Oct 2016 14:35:48 +0000 (14:35 +0000)]
Some more renaming.

7 years agoRenaming in progress.
anuko [Sun, 23 Oct 2016 14:27:30 +0000 (14:27 +0000)]
Renaming in progress.

7 years agoWork in progress renaming things.
anuko [Sun, 23 Oct 2016 14:07:59 +0000 (14:07 +0000)]
Work in progress renaming things.

7 years agoVersion change for PR#24, work in progress renaming things.
anuko [Sun, 23 Oct 2016 13:49:17 +0000 (13:49 +0000)]
Version change for PR#24, work in progress renaming things.

7 years agoAdd option to profile_edit.php to show/hide users uncompleted entries (#24)
Andréas Lundgren [Sun, 23 Oct 2016 13:22:44 +0000 (15:22 +0200)]
Add option to profile_edit.php to show/hide users uncompleted entries (#24)

I'll try to do some renaming after this merge.

7 years agoVersion change for PR#23, fixed dbinstall.php for it to work.
anuko [Sun, 16 Oct 2016 21:55:15 +0000 (21:55 +0000)]
Version change for PR#23, fixed dbinstall.php for it to work.

7 years agoExpense Item description - Follow-up to pull request #22 (#23)
Kim Keown [Sun, 16 Oct 2016 21:42:38 +0000 (15:42 -0600)]
Expense Item description - Follow-up to pull request #22 (#23)

* mysql.sql suggested revision Line 330

Follow-up for pull request #22: $cl_item_name for expenses.php and expense_edit.php was changed to textarea to allow a larger expense description input area. However, database input size had been overlooked and was fortunately noticed upon review.

Updated revision of mysql.sql to replace varchar(255) with a text property to allow a detailed description of the expense.

Line 330
  `name` text NOT NULL,                # expense item name (what is an expense for)

* dbinstall.php revision Line 612

Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer description of the expense.
However, database character allowance had been overlooked and was fortunately noticed upon review.

- Update mysql.sql to replace varchar(255) with the 'text' property to increase allowable entry length.
Limit character input via expenses.php and expense_edit.php $cl_item_name textarea 'maxlength'.

- Update dbinstall.php with an identical revision.
Line 612
   Original: `name` varchar(255) NOT NULL,
    `name` text NOT NULL,

* mysql.sql revision Line 330

Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer description of the expense. However, database character allowance had been overlooked and was fortunately noticed upon review.

- Update mysql.sql to replace tt_expense_items 'name' property varchar(255) with the text property to increase allowable entry length.
Limit character input via expenses.php and expense_edit.php $cl_item_name textarea 'maxlength'. Update dbinstall.php with an identical revision.

Line 330
(Original:  `name` varchar(255) NOT NULL,)
`name` text NOT NULL,

*  expense_edit.php revision Line 122

Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer expense description. However, database character allowance had been overlooked and was fortunately noticed upon review. Accordingly, the textarea maxlength revision was removed.

- Update mysql.sql to replace tt_expense_items 'name' property varchar(255) with the text property to increase allowable entry length.
- Update dbinstall.php with an identical revision.

 - Update expenses.php and expense_edit.php $cl_item_name textarea to include a maxlength property of 800 characters.
The expense record is useful for recording any added debit or fixed-rate charge, and a generous character limit will allow a detailed description that can be easily understood in billing logs and reports.

Line 122
Original:
$form->addInput(array('type'=>'textarea', 'name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name));

Revised:
$form->addInput(array('type'=>'textarea','maxlength'=>'800','name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name));

*  expenses.php revision Line 130

Follow-up to pull request #22:
Previously expenses.php and expense_edit.php $cl_item_name field was revised to 'textarea' to provide a larger input box and longer expense description. However, database character allowance had been overlooked and was fortunately noticed upon review. Accordingly, the textarea maxlength revision was removed.

- Update mysql.sql to replace tt_expense_items 'name' property varchar(255) with the text property to increase allowable entry length.
- Update dbinstall.php with an identical revision.

 - Update expenses.php and expense_edit.php $cl_item_name textarea to include a maxlength property of 800 characters.
The expense record is useful for recording any added debit or fixed-rate charge, and a generous character limit will allow for a detailed description that can be easily understood within billing logs and reports.

Line 130
Original:
$form->addInput(array('type'=>'textarea', 'name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name));

Revised:
$form->addInput(array('type'=>'textarea','maxlength'=>'800','name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name));

7 years agoA little bit of cleanup in ca.lang.php file.
anuko [Sun, 16 Oct 2016 21:19:06 +0000 (21:19 +0000)]
A little bit of cleanup in ca.lang.php file.

7 years agoSome refactoring and version change for PR#20.
anuko [Sun, 16 Oct 2016 20:02:16 +0000 (20:02 +0000)]
Some refactoring and version change for PR#20.

7 years agoReplaced boolval calls to cast to bool so that the app works with PHP 5.2.
anuko [Sun, 16 Oct 2016 19:25:55 +0000 (19:25 +0000)]
Replaced boolval calls to cast to bool so that the app works with PHP 5.2.

7 years agoAdd indicator for uncompleted time entry in users.php (#20)
Andréas Lundgren [Sun, 16 Oct 2016 19:06:56 +0000 (21:06 +0200)]
Add indicator for uncompleted time entry in users.php (#20)

* Add indicator for uncompleted time entry in users.php

Roles that can manage team now see if a user has an uncompleted time entry from the Users screen.

* Fix - White space

7 years agoChanged expense item control presentation as per Kim Keown's PR#22.
anuko [Tue, 4 Oct 2016 17:24:59 +0000 (17:24 +0000)]
Changed expense item control presentation as per Kim Keown's PR#22.

7 years agoUpdate .gitignore and add .editorconfig (#21)
Andréas Lundgren [Wed, 28 Sep 2016 03:38:34 +0000 (05:38 +0200)]
Update .gitignore and add .editorconfig (#21)

* Update .gitignore with compiled files and some OS specific files

* Remove all files from templates_c (exept keepme file).
* Remove some system files from Windows, Linux and macOS.

* Add an .editorconfig file

Makes it easier to contribute to the project

7 years agoAdded more access control checks to mobile pages.
anuko [Sun, 25 Sep 2016 20:56:48 +0000 (20:56 +0000)]
Added more access control checks to mobile pages.

7 years agoAdded more access control checks.
anuko [Sun, 25 Sep 2016 20:35:09 +0000 (20:35 +0000)]
Added more access control checks.

7 years agoWork in progress added more checks for access control.
anuko [Sun, 25 Sep 2016 19:33:08 +0000 (19:33 +0000)]
Work in progress added more checks for access control.

7 years agoUpdates to the Swedish translation (#18)
Andréas Lundgren [Thu, 22 Sep 2016 13:26:01 +0000 (15:26 +0200)]
Updates to the Swedish translation (#18)

Refinements to the new translations after a week of using the application.

7 years agoVersion update.
anuko [Wed, 21 Sep 2016 01:53:23 +0000 (01:53 +0000)]
Version update.

7 years agoWork in progress adding checks for enabled plugins for pages.
anuko [Wed, 21 Sep 2016 01:52:33 +0000 (01:52 +0000)]
Work in progress adding checks for enabled plugins for pages.

7 years agomove edit link to a different column in order to free up horizontal s… (#11)
Taylor Hurt [Tue, 20 Sep 2016 20:32:28 +0000 (16:32 -0400)]
move edit link to a different column in order to free up horizontal s… (#11)

* move edit link to a different column in order to free up horizontal space on mobile

* fix missing manager name on mobile/users page when co-manager is logged in

7 years agoUpdate Swedish translation (#16)
Andréas Lundgren [Fri, 16 Sep 2016 14:27:18 +0000 (16:27 +0200)]
Update Swedish translation (#16)

7 years agoVersion update for PR#15, some changes in Swedish file, hopefully correct.
anuko [Thu, 15 Sep 2016 17:32:13 +0000 (17:32 +0000)]
Version update for PR#15, some changes in Swedish file, hopefully correct.

7 years agoUpdate the Swedish translation (#15)
Andréas Lundgren [Thu, 15 Sep 2016 16:39:28 +0000 (18:39 +0200)]
Update the Swedish translation (#15)

* Update Swedish translation

Redone from the current English translation.

* Add safe-check for NOTE_INPUT_HEIGHT and a better comment description