Commit Graph
89 Commits
Author SHA1 Message Date
Lauri Ojansivu e2713cd0dd Keep Codeberg disabled and bootstrap missing mirror clones under tools
Honor the commented Codeberg registry entry even with stale saved settings. Create missing WeKan source and destination clones under the checkout-relative .tools directory, keeping fetched mirror refs out of the primary checkout. Cover fresh clones, paths with spaces, saved settings, failure handling and existing checkout protections with injected commands.

Thanks to xet7 !
2026-09-27 14:58:59 +03:00
Lauri Ojansivu 67c5df2535 Show a single comment in the minicard badge tooltip
Reuse the existing visible comment data and escaped title attribute. Keep the localized count for multiple or empty comments. Cover count fallback and plain-text handling with Node tests, and verify admin/read-only rendering and private-board comment isolation in Chromium.

Thanks to lonix1 and xet7 !

Fixes #1933,
2026-09-27 14:38:03 +03:00
Lauri Ojansivu 8cbd8c5edc Verify board duplication starts a new activity history
Existing Boards.copy, Swimlanes.copy and Cards.copy do not copy Activities records. Cover source board/card history exclusion, preservation, confirmation cancellation and permission rejection through the real multiselection duplicate actions, with and without cards. Document the existing behavior and refresh the open-issue audit.

Thanks to sfahrenholz and xet7 !

Fixes #2321,
2026-09-27 14:31:02 +03:00
Lauri Ojansivu 8ad064346a Add current-board subtask filtering by parent card
Reuse the existing parent relationship and filter engine from card actions and the filter sidebar. Keep parent choices board-local, allow read-only filtering, and clear the selection when changing boards. Verify filtering, publication boundaries and unchanged card data with Node and Chromium tests.

Thanks to robinvd and xet7 !

Fixes #1871,
2026-09-27 14:24:36 +03:00
Lauri Ojansivu e0a53728b4 Use available popup width for menu columns and card settings
Place Draggable before Minicard and Card in a three-column layout that stacks when the popup is narrow. Expand long option menus and pickers into balanced columns while preserving form layouts, search focus, popup stack navigation and permission-filtered options.

Thanks to xet7.
2026-09-27 14:03:15 +03:00
Lauri Ojansivu 88e234f05f Make text editors multiline and resizable with consistent Enter and theme behavior
Honor Submit editors with Enter across textarea editors, retain composition and mention handling, and route shortcuts through existing scoped save actions. Preserve manual resize dimensions after typing and retain single-line structured fields.

Keep the typography reset from overriding themed button foregrounds, including Board Settings column actions. Verify blue, green, dark and Clean Light buttons and chart actions.

Thanks to xet7.
2026-09-27 13:45:41 +03:00
Lauri Ojansivu 5b07274c3b Audit all 140 open issues and verify existing board view controls
Record an individual finding and remaining verification for every open issue. Browser tests confirm swimlane names on minicards and board-specific view visibility already work; retain the remaining 133 requests with their outstanding scope.

Thanks to sebastianha and xet7 !

Fixes #1748, fixes #2107,
2026-09-27 00:48:29 +03:00
Lauri Ojansivu 4ce5cb9920 Verify seven completed requests with source and browser regressions
Record the 149-open-issue follow-up audit with implementation evidence,
original regression commits where available, and explicit remaining scope.

OIDC logout, case-insensitive mentions, remote mobile card closure,
alphabetical member selection, bulk card colors, existing-card subtasks
and minicard field visibility already work. Extend executable logout-hook
coverage and add browser checks rather than relying on method names alone.

All 31 focused Node suites and 27 distinct Chromium scenarios pass across
this audit and its two separately committed fixes. No live external IdP
or FerretDB backend matrix was tested.

Thanks to RowhamD, Usernameisalreadytaken99, rptl, czinkos, bhueck,
Vida444, xefladrero and xet7 !

Fixes #5061,
Fixes #1938,
Fixes #3114,
Fixes #1686,
Fixes #2160,
Fixes #3213,
Fixes #3198,
2026-09-27 00:10:39 +03:00
Lauri Ojansivu b75af1b146 Document completed-issue audit and validation in Upcoming 2026-09-26 23:25:09 +03:00
Lauri Ojansivu 374e03e996 Record ten completed issue requests and refresh TODO Later
Audit the 159-open-issue snapshot against existing source and regression
coverage. Record the implementations and their original regression commits
in docs/DeveloperDocs/Open-Issue-Completion-Audit-2026-09.md.

Visibility descriptions, field ordering, archived subtasks, linked covers,
checklist-to-subtask conversion, drafts, subtask badges, archive details,
rule toggles/editing and standalone SAML already have implementations.
All 28 selected Node regression suites pass; live browser/IdP tests were
not rerun for this documentation-only audit.

Remove completed TODO entries, correct two unrelated issue references,
and retain incomplete feature requests and deployment investigations.

Thanks to Meeques, Somantiq, javen9881, matrixes, bastos77,
therampagerado, sfahrenholz, Gobliins and xet7 !

Fixes #4421,
Fixes #3877,
Fixes #3409,
Fixes #2498,
Fixes #2422,
Fixes #3243,
Fixes #3207,
Fixes #1504,
Fixes #2322,
Fixes #708,
2026-09-26 23:24:03 +03:00
Lauri Ojansivu 54ce3015e8 Include the Node.js atomic runtime in Linux release packages.
Keep libatomic1 in Docker runtime dependencies, package architecture-matched libraries and licensing in Linux ZIPs inherited by AppImage and Flatpak, and include the library in Sandstorm. Install it explicitly in native and emulated builders; remove inherited Linux runtime files from Windows and macOS repacks.

Thanks to Nissulya, PetitManchot and xet7 !
2026-09-24 14:21:55 +03:00
Lauri Ojansivu e1b13e6881 Use server invitation methods from the board sidebar.
Fix the legitimate invitation flow and unnecessary anonymous metadata subscription reported in #6692 comment 5811473169. Keep protected profile writes forbidden. Existing account blocks require administrator review; the separate history checksum report still needs the affected stored rows.

Thanks to Nissulya and xet7 !
2026-09-24 14:02:30 +03:00
Lauri Ojansivu d884509051 Document release menus and automated indicator policy 2026-09-23 22:15:36 +03:00
Lauri Ojansivu a048569b8d Use automated risk indicators instead of mandatory dependency review 2026-09-23 22:11:57 +03:00
Lauri Ojansivu 4d2951ae20 Fix release telemetry review and login error disclosure
Review 46 changed runtime files and refresh the telemetry inventory without weakening the release gates. Check the inventory locally before release mutations and in regression tests.

Fix CodeQL alerts 543 and 544 in the loopback login fixture with bounded anchored OAuth header parsing and generic HTTP failures. Remove the same stack response from the shipped Sandstorm adapter. Preserve successful signatures and proxy authentication; add malformed-input, negative source and live browser coverage.

Validated macOS ARM64 build, 1577-file source inventory, 42926-file bundle scan, ten OAuth/Sandstorm browser checks and focused security/release tests. Hosted CodeQL has not been rerun.

Thanks to GitHub CodeQL and xet7.
2026-09-23 21:31:14 +03:00
Lauri Ojansivu b4459a79e2 Fix duplicate LDAP form submissions and display login failures
Capture sign-in submission before asynchronous provider selection, keep the form mounted, and complete only the chosen login path. Preserve password validation and show provider errors without redirecting.

Thanks to Nissulya and xet7 !

Fixes #6692,
2026-09-23 13:18:29 +03:00
Lauri Ojansivu 5779499ef2 Fix npm 12 production bundle installs and audit generated build files 2026-09-23 10:35:01 +03:00
Lauri Ojansivu 7f781be34e Gate release builds on source and artifact telemetry checks
Preserve local instrumentation and security logging, opt out of Meteor package statistics, and audit release bundles and repackaged binaries before publication.

Thanks to xet7.
2026-09-23 10:20:04 +03:00
Lauri Ojansivu a990e7f202 Provide full MIME detection across server platforms
Share native file and bundled libmagic detection across uploads, extension correction and administrator file checks. Include the portable WASM database in runtime dependencies, stage native file for Snap and Linux setup, and verify release assets before smoke boot.

Cover portable detection with native file absent, missing dependencies/assets, isolated release layout and HTML diagnostics in Chromium, Firefox and WebKit.

Thanks to xet7 !
2026-09-20 21:06:30 +03:00
Lauri Ojansivu 721805b800 Fix source development startup warnings and browser fixture cleanup
Cache Meteor package transforms, make development DEBUG logging opt-in, and replace legacy CAS URL parsing while preserving callback encoding and custom HTTPS ports. Clean attachment metadata during browser fixture teardown, including failure paths.

Verify six focused Node suites, nine sequential browser checks across Chromium, Firefox and WebKit, and live HTTP requests with deprecation tracing. Document the package cache and verification limits.

Thanks to xet7.
2026-09-20 12:25:56 +03:00
Lauri Ojansivu b104edeef1 Add source-loaded development server and sequential EVERYTHING testing
Add Dev server nobuild to both build menus with shared URL and port options. Load checkout JavaScript and templates in memory using the installed Meteor toolchain; start its bundled MongoDB on the next port and wait for owned database shutdown.

Run server, Node, import, E2E and all supported Chromium, Firefox and WebKit regressions sequentially, stopping on failure. Preserve CommonJS semantics, native fetch, dynamic import namespaces and client source access boundaries. Document verified results and the remaining Windows and intermittent Firefox limits.

Thanks to xet7 !
2026-09-20 05:37:00 +03:00
Lauri Ojansivu e35ba91dfd Update LDAP investigation and language picker changelog 2026-09-14 14:16:25 +03:00
Lauri Ojansivu 503ada2fbe Document LDAP optional-filter login repair and verification 2026-09-14 13:52:52 +03:00
Lauri Ojansivu f7def463be Restrict release notes to summary security and language updates
Emit only In short, Security, translation language names, thanks and the exact changelog anchor. Keep other details in the changelog and verify security retention, omitted developer entries and version-specific links offline.

Thanks to xet7 !
2026-09-14 13:39:32 +03:00
Lauri Ojansivu 8db16132cb Summarize release-note translations as updated languages
Keep detailed translation entries in the changelog and audit, but list only affected languages in release notes. Require explicit language metadata, preserve other topic details, and anchor release heading extraction. Verify nested detail removal and missing-metadata failure offline.

Thanks to xet7 !
2026-09-14 13:26:55 +03:00
Lauri Ojansivu ccfceb7b77 Exclude binary provenance tables from release notes
Generate initial and refreshed release notes solely from the changelog. Retain checksum verification and build provenance artifacts separately. Update build entry points, release instructions and regression guards.

Thanks to xet7 !
2026-09-14 13:22:19 +03:00
Lauri Ojansivu 55dce7200e Document LDAP bind diagnostic repair and remaining investigation
Record local repair and tested limits without claiming the directory authentication failure is resolved.

Thanks to Nissulya and xet7 !
2026-09-14 12:22:06 +03:00
Lauri Ojansivu 0d6be31986 Standardize build and release log directories on readable datetimes
Use operation/YYYY-MM-DD_HH-MM-SS for Unix and Windows build logs, mirror launcher and data reports, translation push reports, conformance and speed diagnostics. Preserve earlier same-second runs with reserved suffixes. Keep record timestamps in their existing data format.

Path and collision fixtures, build progress and parity, mirror launcher and Transifex suites pass. Shell syntax checks pass; Windows execution was not available. Update the internal release preflight inventory used by parity checks.

Thanks to xet7 !
2026-09-14 12:02:36 +03:00
Lauri Ojansivu b199c07565 Document upcoming build and release preflight fixes
Record successful Linux arm64 bundle compilation, regression coverage and remaining browser/platform verification limits. Document the read-only Upcoming notes check.
2026-09-14 04:34:58 +03:00
Lauri Ojansivu 3fedee2b91 Report completed build logs and prepare read-only server manifests
Print development and release log paths at completion on shell and Windows builds. Match the release workflow by making Meteor's server package manifest writable before updating node-gyp and installing dependencies.

Add completion/failure and read-only-manifest regressions. Development compilation and release startup smoke check pass on Linux arm64; 13 targeted test entries pass. Native Windows execution is unavailable.

Thanks to xet7.
2026-09-14 00:30:44 +03:00
Lauri Ojansivu 5f8f22f8c3 Unify shell and Windows log directories by operation date and time 2026-09-14 00:02:30 +03:00
Lauri Ojansivu 0fdda91dec Separate repeated build logs into date and time directories 2026-09-13 23:58:51 +03:00
Lauri Ojansivu 002e6faa76 Log development and release builds by build type and day 2026-09-13 23:55:57 +03:00
Lauri Ojansivu df4c049d52 Show module resolution and captured dependency command output during builds 2026-09-13 23:49:12 +03:00
Lauri Ojansivu 915971a89c Expose exact build commands and verbose npm and Meteor diagnostics
Correct the npm-update stage to describe its application compilation for Meteor plugin dependencies. Enable verbose npm logging, foreground lifecycle scripts, Meteor timing diagnostics and supported verbose bundle compilation. Preserve unbuffered stdout/stderr and test command output plus supported options.

Thanks to xet7 !
2026-09-13 23:42:18 +03:00
Lauri Ojansivu 9aae0ee309 Show immediate build stages and periodic progress for quiet commands
Stream stage announcements, elapsed status and exit codes into the build log. Stop after required cache cleanup or dependency installation failures. Verify quiet command progress and failure propagation with offline fixtures.

Thanks to xet7 !
2026-09-13 23:27:05 +03:00
Lauri Ojansivu 02383540a5 Mirror configured organizations with linked files and offline indexes
Add organization management and per-destination namespaces to the shared Unix and Windows mirror menu. Discover all accessible repositories, create missing mirrors, retain PR conversations when issues are disabled, and copy enabled wiki history and portable Projects V2 data.

Archive linked media, files and webpage HTML per comment under host/organization/repository directories. Preserve old versions, generate static HTML and CSV catalogues, and support offline rebuilding from CSV. Attach archived files to corresponding destination comments where supported.

Honor GitHub and destination rate-limit headers, persistent cooldowns and bounded retries. Public GitHub REST reads fall back without a token. Add offline regressions and a static browser test; 1,014 Node suites pass, with final targeted checks passing. Chromium and Firefox static checks pass; local WebKit requires unavailable ICU 74.

Thanks to xet7.
2026-09-13 21:43:19 +03:00
Lauri Ojansivu 083a28c4f3 Preserve native attachment links when selecting a different mirror source
Resolve relative GitLab, Codeberg and SourceForge attachment paths against the original forge in destination text and persistent archive discovery. Recognize current GitLab project upload URLs, preserve original JSON metadata and exclude arbitrary websites from downloads. Offline link and archive regressions pass.

Thanks to xet7 !
2026-09-13 20:55:44 +03:00
Lauri Ojansivu e2338530cb Archive mirror issue, pull request and release files without deletion
Keep complete source files under .tools/mirror/issues/<number>, pulls/<number> and releases/<version>. Persist metadata, comments, reviews, patches, GitHub-hosted attachments, binaries and source archives. Rename removed or changed versions with old-YYYY-MM-DD_HH-MM-SS prefixes; preserve existing copies on download failures and retry on later runs.

Archive once before per-target synchronization, reuse verified release files and guard concurrent archive writers. Preserve destination main commits through the existing merge fallback without force or ref deletion. Exclude disabled GitHub Discussions, projects and wiki. Document the design and verify retention, retries, API pagination and launcher behavior with offline fixtures.

Thanks to xet7 !
2026-09-13 20:25:17 +03:00
Lauri Ojansivu b1983adbb6 Synchronize missing GitHub data to active WeKan mirrors
Repair Tools menu dispatch and run separate GitLab, Codeberg and SourceForge launchers through a shared engine on Unix and Windows. Read one paginated GitHub snapshot for all mirrors, match issue/comment provenance and release tags, and retry missing conversations and binary assets after partial runs. Preserve destination text and copy Git branches/tags without force or deletions. SourceForge uses Tracker tickets and SFTP release files; projects and wiki are excluded. Add offline API, retry, pagination, multipart upload and launcher regressions plus setup/scope documentation.
2026-09-13 20:05:29 +03:00
Lauri Ojansivu e8be344041 Install complete tooling for active mirrors across platforms
Install Git, SSH/SCP/SFTP, curl, jq, Node and Go prerequisites with native Debian/Ubuntu, Fedora, Brew and Windows package mappings. Use native Go builds for missing forge CLIs, verified current Go archive bootstrap for older Unix toolchains, repository-local binaries and refreshed PATH. Report remaining missing tools and failure status without stopping later attempts. Add SourceForge to the Windows mirror targets. Offline Unix, PowerShell, architecture, checksum and menu regressions pass; no remote mirroring, uploads or publishing ran.

Thanks to xet7 !
2026-09-13 19:41:25 +03:00
Lauri Ojansivu 23eda3ea3a Fix Forge CLI installation and use maintained Tea module
Install Forge from cmd/forge instead of its library root and Tea from gitea.dev/tea instead of the obsolete code.gitea.io module. Apply paths on Unix and Windows. Report Unix Tea/Forge Go failures with nonzero status while continuing later tools. Offline regression covers Fedora detection, skips, paths and failure continuation; no packages or remote writes ran.

Thanks to xet7 !
2026-09-13 19:32:33 +03:00
Lauri Ojansivu 69e4d836cf Extend existing Fossil repositories with incremental Git imports
Use fossil import --incremental when the destination exists, retaining existing history without force overwrite. Re-export selected Git namespaces so repositories created by previous script versions also update without requiring marks files.

Validation: real Fossil 2.28 imports a newly committed Git change, retains old commits and avoids duplicates on a third run. Mock failure and namespace regression checks and Bash syntax pass.

Thanks to xet7 !
2026-09-13 17:09:17 +03:00
Lauri Ojansivu 35888eedf2 Expose local Fossil export and UI in both build menus
Resolve the UI repository from the script or a supplied filename, keep temporary files under the repository, and report missing files or tools clearly. Add matching menu and command-line entries on Unix and Windows, documentation, and mocked UI path checks. Menu parity and a real Fossil 2.28 history import pass.

Thanks to xet7 !
2026-09-13 16:59:04 +03:00
Lauri Ojansivu 2fd461fa55 Add on-premise OAuth2 email domain restrictions.
Check the provider email before account and membership changes. Document the roadmap export validation and remaining source review.

Thanks to xet7 !
2026-09-12 21:01:40 +03:00
Lauri Ojansivu 2606ab56ba Move swimlane/list resize settings and card settings into Board Settings.
#6680 follow-up. Three reorganizations of where board settings live,
grouped under Board Settings (the board's cog menu), with an <hr> above
and below the new group of three:

- The list-width and swimlane-height resize-lock toggles and the
  board-wide "same width for all lists" toggle move out of the header
  and into Board Settings / Swimlane and Board Settings / List.

- Minicard and Card settings (the shared board-wide settings table) move
  back into Board Settings / Card. They previously lived split across
  the card's own menu ("Show on Card") and the minicard's own menu
  ("Show on Minicard"); both entries, their popups, and the
  cardMenuSource module that only existed to tell those two menus apart
  are removed. A non-admin still reaches the one PERSONAL row in that
  table ("Labels text") through the same entry, via personalOnly.

Swimlane and List stay board-admin only (the resize locks already were);
Card is open to any board member, matching who could reach it before.
All three reuse existing translations ('swimlane', 'list',
'card'/'card-settings') via Popup.open's titleKey rather than adding new
*Popup-title keys.

tests/boardSettingsSwimlaneListCard.test.cjs pins the new layout;
tests/listSwimlaneResizeLock.test.cjs, tests/headerIconsCollapse.test.cjs
and tests/popupTitles.test.cjs are updated for what moved.
2026-09-09 03:32:00 +03:00
Lauri Ojansivu 7883cf2ac4 Remove the Platform/Binary/From/Version/SHA256 table from CHANGELOG.md.
The maintainer removed this table by hand from the current month's
CHANGELOG.md - it was tried right under each release's "In short" summary,
then moved to a "Binaries in these bundles" label at the end, and both times
made every release's entry mostly a giant table nobody read. Update
CLAUDE.md/AGENTS.md's CHANGELOG spec and the docs template to stop
prescribing it, and change tests/changelogFormat.test.cjs's binaries-table
test into a negative one. tests/newestBundledBinaries.test.cjs is updated to
verify the same data instead through the GitHub Release notes, which
releases/provenance-table.sh still builds fresh from
releases/record-provenance.sh's recordings on every release - that mechanism
is unchanged, only the CHANGELOG copy is removed.

Thanks to xet7.
2026-09-09 00:17:38 +03:00
Lauri Ojansivu 83fa2d341c Stop leaving an empty Upcoming placeholder, move the binaries table to the end.
CHANGELOG.md no longer carries an empty "# Upcoming WeKan (R) release" section
with an "In short: nothing here yet." placeholder between releases.
release-all.sh used to auto-create one immediately after renaming a release
(via the now-deleted releases/changelog-open-next.mjs), so the file always
had a section that said nothing until the first real entry replaced it.
Add the Upcoming section yourself, by hand, the moment there is a real entry
for it, using the skeleton at
docs/DeveloperDocs/Changelog-Upcoming-Template.md. What actually prevents an
entry from landing inside an already-published release -
tests/changelogEntriesBelongToTheirRelease.test.cjs asking git which commits
a release contains - never depended on the placeholder existing first, so
removing it costs nothing.

Also reorders each release section: the binaries table used to sit right
under the "In short" summary; it now comes LAST, under its own "Binaries in
these bundles:" label, after every content subsection and right before the
closing "Thanks to above GitHub users" line. A reader opens a release to see
what changed; the platform/SHA256 table is reference material, not the
second thing anyone reads.

Updated CLAUDE.md/AGENTS.md's CHANGELOG format spec and
tests/changelogFormat.test.cjs to match both changes, and
tests/buildScriptParity.test.cjs now that changelog-open-next.mjs is gone.

Thanks to xet7.
2026-09-08 23:03:22 +03:00
Lauri Ojansivu 7290ed0360 Say what _build is, and ignore what is not source in every ignore file
Two build directories exist and their names are one character apart, which is
how one of them got scanned as source by a test earlier today:

  .build/  the RELEASE bundle, from `meteor build .build --directory`.
           .build/bundle is what is deployed, tested and packaged.
  _build/  rspack's compiled output, written by ANY Meteor compile. Meteor reads
           the app's main modules from _build/main-prod/, so it is a HANDOFF,
           not a leftover - which is why .meteorignore must NOT ignore it, as
           the note in that file has said since the Meteor 3.4 migration.

Both are now described where somebody meets them: the build.sh and build.bat
headers, Directory-Structure.md, Build-from-source.md, Meteor-bundle.md,
Build-and-Create-Pull-Request.md (as "what not to add to a pull request"), and
CLAUDE.md/AGENTS.md - the last with the warning that _build holds a bundled
second copy of every source file, so anything walking the repository must skip
it. That is not hypothetical; a source-scanning test read it and reported the
bundler's rewritten imports as a source file breaking a rule.

_build was in .gitignore and .meteorignore only. It is now in .dockerignore,
.eslintignore and .prettierignore too.

The same pass aligned the rest. Nothing in client/, server/, models/, imports/,
config/ or packages/ imports anything from docs/, meta/, old-CHANGELOG/,
openapi/, sandstorm-src/, snap-src/, snap-base-debian/, stacksmith/, releases/,
scripts/, tools/ or secrets/ - checked, not assumed - so Meteor no longer
watches them. It watches what it does not ignore, one inotify watch per
directory, against a per-user limit shared with every other watcher on the
machine: the same limit .tools/ was added for. The Docker context no longer
carries them either, since everything in it is sent to the daemon whether the
image uses it or not.

Four things are deliberately NOT ignored, each for a reason now written down:
config/ is imported by the app in nine places; private/ and public/ are Meteor's
own asset directories; packages/ holds the local Meteor packages; and _build/
breaks the build if ignored. releases/ stays in the Docker context because the
Dockerfile COPYs several scripts out of it.

.meteorignore now also ignores .build/, which answers a warning Meteor prints on
every release build - "The output directory is under your source tree. Your
generated files may get interpreted as source code!" Unlike _build/, nothing
hands .build/ back to the compiler; it is finished output read by the deploy and
test steps.

Thanks to xet7 !
2026-09-04 23:47:14 +03:00
Lauri Ojansivu c4cb87345b Reorganize documentation and repair links.
Move feature and webserver documentation into the reorganized hierarchy, update references to their new relative paths, and extend link validation across the complete documentation tree.\n\nThanks to xet7 !
2026-08-17 00:24:38 +03:00