Repository navigation
Fixes and changes accumulated during the effort to stabilize v3.0 for our companies usage - #220
Closed
carlosazevedo wants to merge 197 commits into
Closed
carlosazevedo wants to merge 197 commits into
carlosazevedo wants to merge 197 commits into
Conversation
instead of just the text.
instead of the previous dumb method which allowed for a pure green background to have white text, rendering it very hard on the eyes.
instead of just painting the text.
user to show up on the drop-down field as modules to apply permissions on. Otherwise it would be possible to add a permission modifier that imediatelly disapeared from the permission modifiers list.
shown due to the way the code checked for the currently logged in user's permissions.
contact info behind is useless (no way of reattatching a user to a contact info row) and leads to permission errors.
has files inside of which it is the owner.
- Links to tasks assigned to others are moved to after my own tasks. - Headers to indicate which tasks are which. - Layout changes to the filters. - Text changes to some labels. - The cell of a task link has its whole background painted with the task color instead of just the text.
Previously a task progress was computed at the 'now' time, even if the display was relative to an earlier date. This changes that to depend on the selected date so that if the current date is earlier than the task's start date it will be reported as a 'future task'.
filtering is done. Now the 'due in' field depends on the currently selected date, allowing for 'back in time' views of the tasks. Also a task may show up in the list even if its completed if the currently selected date is in the past (before the completion date).
'View Task' form must always display the time unit as 'hours', not the tasks' duration unit.
and for edit permission with a call to canEdit. This avoids permission errors on new subfolders.
files inside the subfolder; if none is found anyone can edit the subfolder, otherwise the current logged in user has to have a file of which it is the owner inside it. These way an empty subfolder can be edited.
The 'folder explorer' view shows empty directories, which makes no sense in the company and project forms.
understand why it was center.
other users except the currently logged in user
code always showed the project info in the flat view, even if the files were being listed in the context of a single project.
with 'Selection'.
The tab lists the messages posted in forums/topics that are marked as 'to watch' and that were posted in the selected date.
…if the user can't edit tasks. Otherwise he'll get a permission error if he clicks on the button.
others' lists in 'Day View' into separate tabs, to be more consistent with other parts of W2P.
deadline. To avoid problems when the start date is into the future but the end date already passed, where the old coding would report all OK. I know this condition is not supposed to happen but it should be handled this way anyway.
…le to
log in), just sounding an alert instead of refusing to save the record.
This needs to happen in order to support external users (from other
companies) that can have tasks assigned to them but are not allowed to use
the system.
NOTE: I've setup the alert message for English, other localizations are
needed.
(SELECT ...) WHERE...;'.
…ther people's events.
…nging its status.
… the '_author' case handler the contact information is found for user $value but the link was created to point to stage data's user_id) and creates a new suffix called 'date+time', to be used.
A full description has yet to be written but the concept is as follows: Frequently tasks imply operational dependencies that are not practical to express in the project's timeline. For instance, assume that a task requires that tests be made on modified samples of a device. The task description will only say this but in reality it may involve the following sequential steps: 1. Request the samples from an overseas factory, through their technical department 2. The technical department requests the unmodified samples from the warehouse 3. The samples are delivered to the technical department for modification 4. After modifications are done the samples are sent to Q&A 5. After Q&A approval the samples are sent to shipping to be sent to company headquarters 6. The samples are received at headquarters and are delivered to the task assignee. Including all these steps in the project's timeline is not practical but for the task assignee (and also the project manager) to know the task progress accurately this information is crucial. So for these cases delegations can be used; the task assignee will delegate the task to the overseas technical department that will then start a chain of delegations within the factory (technical->warehouse->technical->shipping) and then to headquarters. Each of these delegations has a done/not done status, creating task logs that may impact the task's completion status (if there are no conflicting task assignee's task logs). Each delegation can be rejected by its recipient, creating a problem task log until the project manager disposes of the rejection, either by accepting or refusing it. After the delegation is done it should be re-delegated to the next user responsible, by either the user that finished the work (which can be a low- level user, permissions-wise) or by the project manager.
implied through the project, meaning that if a file was to be linked to a company a project owned by that company would be required to host the file. With this patch a file either belongs to a project/task (and the company is implied), to a company (and there's no connection to any project/task) or it belongs to nobody. This has nothing to do with the file owner, in case you're wondering. This patch requires a DB upgrade (included).
…rk on Chrome, as it originally was tested on Firefox only.
jumped to a New Project page).
…user knows why its file doesn't shows up.
task may be assigned to an outside party and it may not be desirable to allow it to access the system. So an inactive user must be used (as are created by the importers module code).
be users able to view the admin module (so, Administrators only) but now is changed to allow anyone that can create projects.
…ctly in a company create/edit form. So anyone that can add/edit companies will also be able to add/delete their associated inactive users. I don't consider this a security breach as an inactive user is unable to login, therefore is similar to not having any permissions at all (which is their definition). But inactive users are needed to express the assignment of tasks to outside parties without access to the system. This is also required for importing projects, as the users created there will also be inactive users. For importing projects it makes more sense the pre-create the users to be mapped into the project's resources but for that an user allowed to import a project needs to be able to create inactive users, which might not be the case and would be impossible to do with the old code.
… view, as it happens on 'Tasks'. Nevertheless a checkbox allows selecting the presently default behaviour of showing all tasks, regardless of status.
displayed in the 'View Project' page. The main picture (depecting the
object of the project) is shown to the left of 'Details' while all other
pictures are shown at the bottom of the project info box.
For that purpose, and for users able to edit projects, two new file types
are available when adding files to projects: 'Main Project Picture' and
'Project Pictures'.
If more than one 'Main...' file is added only the first will be considered
the main one and if no 'Main...' file exists then the first 'Project...'
will be considered the main one.
The files must be of type 'image/{jpeg,png,gif}'.
So all that needs to be done is to upload files of those types and
categories and associate them to the project. They will then be displayed
in 'View Project' as indicated.
Member
|
I've merged as many of these that I could to 4.0 development. I'll continue pulling in the ones I can. |
caseysoftware
added a commit
that referenced
this pull request
Oct 20, 2026
update_event() moved a repeating event forward by one interval from its old start time. When the scanner fell behind (cron stopped, server down), the new start time was still in the past, so each scan ran the event again, one interval at a time, until it caught up with the clock. Task reminders went out once per scan, and each run used up one of the event's repeats. Move the event to its first start time that is still in the future, keeping its time of day, and use up one repeat for the run that actually happened. update_event() takes an optional $now so this can be tested. From #220 (6d92a76), which instead restarted the schedule from the current time. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U4Tb5HTf6cRoQn1idicyjt
Member
|
Closing: the parts of this that still apply are resolved in 5.0.0 development (dev-5.0.0). The event queue fix from 6d92a76 is in commit e43148b: a repeating event that falls behind now moves to its next future run instead of firing on every scan until it catches up. The create-vs-edit permission check on save and the user role editing permissions were already fixed there. The rest of this branch is based on 2013 code and no longer applies to 5.0.0; if any of those changes are still needed, please open a focused PR against dev-5.0.0. Thanks for all the work that went into this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our two companies (at two different time zones) are in the process of switching all project management into W2P. As such I've worked on it, fixing bugs and changing some functionalities. Some of those changes will conflict with previous decisions so I propose using system configs to enable/disable those changes, if needed. Dropping those changes is not an option.