Main page. Just simple HTML, CSS and JS. https://asxp.io
  • Ruby 66.9%
  • HTML 23.5%
  • CSS 5.9%
  • JavaScript 2.7%
  • Nix 0.4%
  • Other 0.6%
Find a file
Sergei Poljanski 8471570187
admin: per-area permissions on every route
Give each user independent read, write and delete flags per area
(invoices, bingo, users), so someone can e.g. review and remove bingo
incidents without being able to add any. The request method and path
decide the flag needed: GET is read except the new/duplicate forms, POST
to .../delete is delete, any other POST is write. Unmapped admin paths
are superuser-only, and a test enumerates every registered admin route
so a new one cannot ship without a rule.

Pages follow the same flags: nav and dashboard tiles show readable areas
only, write forms and delete buttons are hidden, and the datacenter form
is shown read-only.

Assisted-by: Claude:opus-5
2026-10-10 08:27:37 +04:00
.forgejo/workflows bingo: stop serving bingo.asxp.io 2026-10-10 06:07:37 +04:00
bin tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
db admin: user accounts and session login 2026-10-10 08:25:46 +04:00
lib admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
public admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
test admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
views admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
.dockerignore tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
.env.example bingo: serve bingo.asxp.io too, credit asxp.io in footer 2026-10-10 06:00:39 +04:00
.gitignore ltc payments 2026-06-08 18:43:01 +03:00
asxpio.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
bingo_web.rb bingo: planned status and capacity type 2026-10-10 06:59:04 +04:00
CLAUDE.md admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
config.ru bingo: serve bingo.asxp.io too, credit asxp.io in footer 2026-10-10 06:00:39 +04:00
docker-compose.yml bingo: stop serving bingo.asxp.io 2026-10-10 06:07:37 +04:00
Dockerfile bingo: SEO pass and resized photos 2026-10-10 06:26:03 +04:00
flake.lock ruby rework with contact form 2026-05-05 00:45:27 +04:00
flake.nix gems: add pg, sequel, prawn, aws-sdk-s3 for invoicing 2026-05-26 17:29:21 +03:00
Gemfile tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
Gemfile.lock tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
Rakefile tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00