gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit3598093635980936inbox: preserve desktop columns after list styles were scopedmre35980936/tools/survey-authors.hl

1.0 KB

  1. // tools/survey-authors.hl — READ ONLY (Atlas 2026-10-24, tracker#36): per project, who authored tickets and events.
  2. import { env } from 'hl:proc'
  3. import { countOf } from '../lib/util.hl'
  4. import { ticketsTable } from '../lib/tickets.hl'
  5. import { eventsTable } from '../lib/events.hl'
  6. import { projectsTable } from '../lib/projects.hl'
  7. import { usersTable } from '../lib/users.hl'
  8. if (env('TICKETS_STORAGE') == null || !env('TICKETS_STORAGE').startsWith('/')) { hlError('set TICKETS_STORAGE absolute') }
  9. for (u of usersTable.find(null, null)) { console.log('USER ' + u.id + ' ' + u.identity + ' ' + u.name) }
  10. for (p of projectsTable.find(null, null)) { console.log('PROJECT ' + p.id + ' ' + p.slug) }
  11. for (t of ticketsTable.find(null, null)) { console.log('TICKET ' + t.id + ' ' + t.project + ' ' + t.number + ' ' + t.created + ' by=' + (t.createdBy != null ? t.createdBy : '-') + ' | ' + t.subject) }
  12. for (e of eventsTable.find(null, null)) { console.log('EVENT ' + e.id + ' ' + e.ticket + ' ' + e.kind + ' user=' + (e.user != null ? e.user : '-') + ' author=' + (e.author != null ? e.author : '-')) }

Branches

Latest commits

  • 35980936inbox: preserve desktop columns after list styles were scopedmre
  • c077a5cbstyles: format Style with nested language rulesmre
  • ccdde2beticket: format Style with nested language rulesmre
  • d083535bticket_list: nest Style rules and bare media queriesmre
  • c24608ebmarkdown: format Style with nested language rulesmre
  • de964b3bsettings: format Style with nested language rulesmre
  • 03c1de05new_project: format Style with nested language rulesmre
  • bd76cfa6connect: format Style with nested language rulesmre
  • 01fad593inbox: format Style with nested language rulesmre
  • 79dc9392you: format Style with nested language rulesmre
  • 78073baamain: format Style with nested language rulesmre
  • 5499c290Sync theme unchanged from layouts 17e0f03mre
  • fd33ee21Sync reviewed components from 8176eb1mre
  • 93348453Re-vendor tickets to Hybriel set day35mre
  • a4123831tickets#42: the /connect and /login/callback error pages are app pages: the function routes redirect to /connect/failed/<code> and /login/failed/<code> (components/problem.hl, sentences in lib/problems.hl), htmlPage and its hand-written stylesheet are gone; gate tests/error-pages.mjsmre
  • cefc7b4atickets: a startup error prints its message before exit 1 (hybriel#247)mre
  • 99bd6570tickets: lib/migrate.hl writes no table of another topic any more: projects.hl rewriteSlug / addProjectNamed / hasMembers, tickets.hl moveToProject / ticketRecords / ticketRecordsOf, events.hl renameStates / eventRecords / eventRecordsOf; the migration calls them (tickets#47)mre
  • b57161e3tickets: the markup names its own rules (Style.pMessage, Style.olTickets, ...) instead of hand-written class strings that copy a stylesheet rule; the shared bodies sit in lib/looks.hl (tickets#38)mre
  • f767b24dtickets: 111 needless let became plain declarations (3 in ticket.hl, ticket_list.hl, comments.hl and 108 never-reassigned, not captured loop-body ones); the 212 really reassigned lets stay (tickets#44)mre
  • 16c0d3b5tickets: the modal window is phone first: the full-screen sheet is the base rule, the centred window sits in the min-width 60rem block (tickets#39)mre