Skip to content

Merge features produto 3 - #27

Merged
Eduardojvr merged 14 commits into
homologacaofrom
dev
Sep 25, 2026
Merged

Eduardojvr merged 14 commits into
homologacaofrom
dev

Conversation

@Eduardojvr

Copy link
Copy Markdown
Collaborator

No description provided.

lbrunofidelis and others added 14 commits August 25, 2026 22:35
The repository is public, so service names, tree locations and the backup
directory no longer belong in the script. Read them from a settings file
on the runner instead, and drop the runner label from the workflow.
mongodump, npm and pm2 write progress to stderr, which was reaching the
workflow log together with paths, the database name and the service name.
Send it to a file on the host instead, and stop printing the settings path.
Both scripts truncated the same file, so the second deploy of an instance erased the output of the first.
ci: add GitHub Actions pipeline for test and homologacao deploys
A self-hosted runner writes the machine name and the workspace path into its job log, and this repository's logs are public. The deploy scripts moved with it; this workflow only triggers the pipeline now.
ci: move the deploy job to the private ops repository
Adds support for attaching sub-questions directly to a question (any
answer type, including free text, numeric, date/time and file upload,
plus single/multiple choice), shown once the parent question has been
answered - in addition to the existing sub-questions tied to a specific
answer option.
- New teamNotification / teamNotificationOccurrence models: admins
  register a title/message/severity (green/yellow/red) notification
  for a team, optionally recurring (every N hours/days).
- Occurrences fire immediately on creation and, for recurring
  notifications, on a scheduler routine that checks due notifications
  on a configurable cadence.
- New endpoints for a user's own unread count / history and marking
  occurrences as read (individually or all at once).
- New notificationSettings (history count, check interval) added to
  systemSettings.
- New team_notification_* permissions, assigned to the same default
  roles that already had team_* permissions.
New UI strings introduced by the team notification feature (menu
items, form labels, tab titles, etc.) had no matching entries in the
languageToken collection, so the frontend rendered raw LNG_ keys
instead of translated text.

Adds a 2.58.0 migration (English + Portuguese) following the existing
per-release languageToken.js pattern, so a fresh install/migration
picks these up automatically going forward.
Lets an admin combine these with the existing interval field to build
periods like biweekly (15 days / 2 weeks), semiannual (6 months) or
yearly recurring notifications, instead of being limited to hours/days.

Includes a 2.58.1 language token migration for the new unit labels.
…bairro)

Adds "bairro" to the address model (logradouro, numero, complemento
already existed) and exposes all four fields in Case/Contact address
export, print and field-label lists.
@Eduardojvr
Eduardojvr merged commit 2716f33 into homologacao Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants