Commit graph

32 commits

Author SHA1 Message Date
ff4a209d99 More task deletion changes
Completed tasks can be deleted by anyone after a configurable time
unless they have reverse dependencies.
2016-01-02 11:13:51 +01:00
a39945ff14 Task deletion changes
Tasks can be deleted by whoever created them if they've not been
completed, have no subtasks and no reverse dependencies.
2016-01-02 11:00:57 +01:00
a9035d5be6 Fixed Move to grandparent/sibling
Moving a subtask to its grandparent, or making a task a sub-task of one
of its siblings, didn't work as expected. While the icons were being
updated correctly, the task didn't appear in the right location. That
was because, while the cached structure was being updated, the task
itself wasn't.
2016-01-02 10:47:36 +01:00
143af5a498 Submodule update 2016-01-01 23:46:01 +01:00
2aec48aa8a Some README updates 2016-01-01 23:35:34 +01:00
8357f989d9 Fixed stupid minimal name length 2016-01-01 23:31:21 +01:00
bf3834c9fa Fixed a bug with <? as a PHP marker
Also, use latest Arse as it had more of that one.
2016-01-01 23:26:15 +01:00
bca6b99068 Fixed bug in finish_task()
Due to an error on a column name, finish_task() was broken. It has been
fixed.
2012-02-15 10:58:55 +01:00
2051303262 Fixed sub-task handling
The previous implementation of sub-tasks did not work as expected: it
was possible to mark sub-tasks as completed before the parent task's
dependencies were satisfied. In addition, it was impossible to retrieve
a task's path from the database without running a recursive query.

Full paths to sub-tasks added to views, since it is now possible to
obtain them.
2012-02-15 10:48:11 +01:00
91ae4f81fd Confirmation form for "Move up" action
The "move up" action now shows a confirmation form in all cases. This
first confirmation form is followed by another such form if the task has
dependencies or reverse dependencies.
2012-02-10 09:41:49 +01:00
d28f5741fe Initial sub-tasks support
In addition to normal dependencies, the application now supports
sub-tasks. Sub-tasks can be added into any existing task (including
other sub-tasks, Inception-style).

Dependencies can only be added between global tasks, or between
sub-tasks of the same task. It is no longer possible to mark a task as
finished if it has incomplete sub-tasks, and conversedly, it is not
possible to reactivate a sub-task if its parent is marked as completed.

A pair of buttons allowing tasks to be moved up and down in the task
hierarachy have been added.
2012-02-10 09:20:35 +01:00
49cc53e31f Item name on "new task" form
The item name will now be displayed on the new task form when it is
displayed from an item's page.
2012-02-07 09:29:20 +01:00
f7bf8c469a Assigned tasks on user pages
The list of tasks assigned to an user will now appear on the page of the
assignee, minus the 'Assigned to' part because that'd be redundant.
2012-02-06 18:12:07 +01:00
634ed8f5ee Cleanup and improvement of tasks lists
Removed duplicate code in task lists views (now using a single class
with constructor parameters). Added specific display for assigned tasks
that have missing dependencies.
2012-02-06 17:57:56 +01:00
dae65c0b4b User pages
Added a small and, for now, mostly empty page for each user. Users will
be redirected to their page when they log on.
2012-02-06 17:28:32 +01:00
56741bccaa Task assignment
Tasks can be assigned to users. An user may decide to "claim" a task
directly, which will assign the task to him. Otherwise, it is possible
to set some arbitrary user as the assignee or remove the assignee
completely through the edition form.

Marking a task as completed will remove the assignee, while
re-activating a task will assign it to the user who re-activated it.

Also, fixed a bug which allowed a completed task to be edited.
2012-02-06 16:54:20 +01:00
850d2fa8d4 Arse update
Updating to latest version of arse.
2012-02-06 15:07:12 +01:00
8bf2034ba6 Database creation script fixed
A view was used before it was created.
2012-02-06 15:05:15 +01:00
1423434dfd Transitive dependencies
The amount of unsatisfied transitive dependencies is displayed in the
tasks list (and used to sort it) and on task pages.
2012-02-06 10:45:39 +01:00
d4387ee6bb Fixed redirect to installer
In some cases redirections to the installer would be ignored. Well, no
more.
2012-02-06 10:09:36 +01:00
9cc43ea4fe User edition
Added forms that allow user display names to be set and passwords to be
changed. All users can modify users at this time.
2012-02-06 10:03:11 +01:00
ad4071b4e8 User name display
If there is a display name, it will be used in all views (task lists,
task details, comments).

Made a view for task lists, because it was cleaner and because they're
all more or less the same anyway.
2012-02-06 08:55:33 +01:00
b37265d0eb User display name field
Added a "display name" field, which can be NULL. The field can be set
from the user creation form, and is displayed in the list.
2012-02-06 08:36:01 +01:00
1271afd1d8 "Installer" added
A very basic installer will appear when accessing the home page if there
are no users in the database. It allows the initial user to be created.
2012-02-06 00:28:07 +01:00
071577168a Very basic user management
Added an user list page and a form to create new users. All users can
create other users.
2012-02-06 00:09:21 +01:00
b6b5cd982e Added description field to items
A description field has been added to items in the database, form fields
have been added to both item creation and modification. Removed some
French text that was still around.
2012-02-05 23:04:41 +01:00
55438e6661 "Blocked tasks" display
Tasks that have missing dependencies will be displayed in a red-ish
colour on the item views and in the full tasks list. Added a "blocked
tasks" mode to the tasks list page.
2012-02-05 22:22:16 +01:00
bbf2c4a13c "Remove dependency" implemented
Added a link to dependency views which causes dependencies to be removed
after a confirmation page.
2012-02-05 21:22:06 +01:00
ba3fcc2470 "Add dependencies" implemented
A few bugs in the SQL scripts have been fixed. It is now possible to add
new dependencies to a task from the details page.
2012-02-05 20:55:09 +01:00
60d4fe1199 Removed old French text
There was some French text left in the error messages for the task
edition form. It has been removed.
2012-02-05 20:08:15 +01:00
fd50fda73a Dependency display
Task views now include the list of dependencies and reverse
dependencies. In addition, it is impossible to mark a task as completed
if it has unsatisfied dependencies, and it is impossible to re-activate
a task that has completed reverse dependencies.
2012-02-05 19:59:51 +01:00
9677ad4dd3 Initial import of tasks application
This initial import is a heavily modified version of the code I had
here, as Arse was modified for other purposes in the meantime and the
application no longer worked with it.

In addition:
 * I did not import the user management part yet,
 * task dependencies are supported in-base, but there is no interface
for that yet.
2012-02-05 18:47:04 +01:00