Claude
cc7ca06182
Hide Playerbot accounts from search, character pages and guild rosters
...
Build / build (push) Waiting to run
Lint / eslint (push) Waiting to run
Build / build (pull_request) Has been cancelled
Lint / eslint (pull_request) Has been cancelled
Playerbots are ordinary accounts, not game masters, so hideGameMasters does
not touch them. On a realm running mod-playerbots that means the armory is
almost entirely bots: 1,377 characters listed, of which about 1,350 are bots.
Adds two options, hideBotAccounts (default true) and botAccountPattern
(default "RNDBOT%"), applied the same way the game master filter already
works: left join the accounts we do not want, then require the join to have
missed. A realm without bots matches nothing, so the default is harmless.
Applied in the search listing, guild rosters, and the character lookup, so a
bot's page 404s rather than rendering.
The pattern is spliced into join clauses the query builder emits as raw SQL,
so it cannot be a bound parameter. It comes from the operator's own config
rather than from a request, but Utils.quoteSqlString quotes it so a stray
apostrophe cannot produce a broken query.
Verified against the live realm:
listed before 1377
listed after 27
Spinnaker, Kdog shown
Rarzosh (bot) hidden
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NW2ooBP2KPqQVzdZZDMvZd
2026-09-02 20:08:24 +00:00
Stefano Borzì
6cb84817ac
fix: column ordering ( #47 )
2026-01-24 13:12:59 +01:00
Axel Cocat
f739a92e1e
fix(DataTablesSsp): clamp offset and limit values
2024-03-02 16:36:27 +01:00
Axel Cocat
9801c03013
fix(CharacterController): add check for empty equipment
2024-02-02 18:34:37 +01:00
Axel Cocat
401e92eb70
style: fix typo
2023-08-05 00:48:16 +02:00
Axel Cocat
f7be06074e
feat: arena ladder
2023-08-05 00:42:55 +02:00
Axel Cocat
dc1af0802f
ci: fix npm ci ( #27 )
2022-06-27 23:43:46 +02:00
Axel Cocat
58ca06d1e0
feat: handle hidden transmog items ( #26 )
2022-06-27 23:25:28 +02:00
Axel Cocat
6a847c8ccb
style: apply prettier
2022-06-21 01:28:22 +02:00
Axel Cocat
dda4aae6f6
fix(DbcReader): revert parsing
2022-06-21 01:28:04 +02:00
Axel Cocat
905f1549fd
feat(character): add option to use the ZAM CDN for the model viewer assets ( #22 )
2022-05-14 22:19:21 +02:00
Axel Cocat
bb6428955f
chore: add and apply eslint
2022-05-14 18:44:50 +02:00
Axel Cocat
7cd2748d33
feat(character): add transmog module compatibility ( #21 )
2022-05-14 16:39:31 +02:00
Axel Cocat
1156ceb17f
feat(character): colored item borders for quality ( #20 )
2022-05-07 17:33:42 +02:00
Axel Cocat
08009a575c
fix: character search duplicates because of account_access ( #19 )
2022-05-06 22:01:04 +02:00
Stefano Borzì
216904fd6e
chore: minor improvements in for cycle ( #18 )
2022-05-06 20:24:22 +02:00
Stefano Borzì
8331e4dd73
chore: apply prettier on all files ( #8 )
...
* chore: apply prettier on all files
* chore: add prettier npm script
* Update .prettierrc
Co-authored-by: Axel Cocat <ax.cocat@gmail.com>
* Update .prettierignore
Co-authored-by: Axel Cocat <ax.cocat@gmail.com>
* Update .prettierignore
Co-authored-by: Axel Cocat <ax.cocat@gmail.com>
* Update .prettierignore
Co-authored-by: Axel Cocat <ax.cocat@gmail.com>
* chore: apply prettier with new conf
* Revert "chore: apply prettier with new conf"
This reverts commit db2a04c03f .
* chore: apply prettier correctly
* chore: update .prettierignore
* chore: restore viewer.min.js minification
* chore: apply again prettier
Co-authored-by: Stefano Borzi <stefano.borzi@fedex.com>
Co-authored-by: Axel Cocat <ax.cocat@gmail.com>
2022-05-06 19:35:26 +02:00
Axel Cocat
91f3ec424a
fix(character): fix sheath type when mounted ( #5 )
2022-03-21 00:28:13 +01:00
Axel Cocat
7315de7ede
feat(character): replace model viewer background
2022-03-18 00:51:58 +01:00
Axel Cocat
c251b8de27
fix(guild): use guild id for members endpoint
2022-03-17 00:26:09 +01:00
Axel Cocat
4af6e7e8d0
fix(Armory): fix charset sql request
2022-03-16 23:46:32 +01:00
Axel Cocat
b8de1cbc8b
feat: add website root path settings ( #1 )
...
* feat: add website root path settings
* fix: disable cloudflare rocket-loader for iframe-resizer
2022-03-16 23:39:45 +01:00
Axel Cocat
1b7e975080
feat: add Dockerfile
2022-03-15 01:13:38 +01:00
Axel Cocat
a462b6af1b
feat: read config from env if config.json is not found
2022-03-14 22:42:28 +01:00
Axel Cocat
05706007f1
feat(character/pvp): add pvp page
2022-03-09 14:28:21 +01:00
Axel Cocat
03eb4e2a51
feat(guild): add guild page
2022-03-05 21:43:18 +01:00
Axel Cocat
28432b6523
refactor: use .hbs extension
2022-03-05 15:45:16 +01:00
Axel Cocat
ab5dcd3640
feat: add db query timeout option
2022-03-05 15:32:03 +01:00
Axel Cocat
4b8dc1fa1c
feat: use mysql connection pool
2022-02-28 23:27:46 +01:00
Axel Cocat
5602ece097
feat: redirect to main website if not in iframe
2022-02-27 19:22:14 +01:00
Axel Cocat
94aec140a8
feat(error): add link to website
2022-02-27 18:17:02 +01:00
Axel Cocat
56c0fed144
feat: add logging and error handling
2022-02-27 18:05:10 +01:00
Axel Cocat
3860ad47c7
feat(index): add datatables responsive plugin
2022-02-26 21:11:34 +01:00
Axel Cocat
08bb89568d
feat(character-header): add guild link
2022-02-26 13:41:39 +01:00
Axel Cocat
6ebaccc020
fix: re-add handlebars-helpers
2022-02-26 13:29:02 +01:00
Axel Cocat
1fd6b326dc
feat: hide game masters
2022-02-26 13:14:51 +01:00
Axel Cocat
ab3b84f743
feat(character/achievements): add achievements page
2022-02-26 02:06:45 +01:00
Axel Cocat
b19bd0b0a3
feat(character): add mounts
2022-01-21 14:52:19 +01:00
Axel Cocat
d0eb86daa7
fix(index): fix realm in link to character when using a single realm
2022-01-20 19:27:22 +01:00
Axel Cocat
88e1d143d1
feat(character): hide helmet and cloak according to character flags
2022-01-19 22:42:23 +01:00
Axel Cocat
46f3f24c4f
feat(index): add character search screen
2022-01-19 21:44:14 +01:00
Axel Cocat
f979241e37
feat(character/talents): add talents page
2022-01-11 23:58:21 +01:00
Axel Cocat
f32b70fb0b
feat: rewrite csv parsing
2022-01-07 23:24:42 +01:00
Axel Cocat
1a682409a8
feat(config): add aowow url to config file
2022-01-06 22:29:11 +01:00
Axel Cocat
73916950b7
feat(character): add equipment tooltips
2022-01-04 01:30:33 +01:00
Axel Cocat
7a9bb172ea
feat: add checkboxes to hide helmet/cloak/tabard
2022-01-02 21:23:02 +01:00
Axel Cocat
8c4d9dc7ed
fix: fix DbcReader import
2022-01-02 19:23:44 +01:00
Axel Cocat
ac26336bc3
feat: use character data from database
2022-01-02 18:36:16 +01:00
Axel Cocat
028d0390f4
initial commit
2022-01-01 19:38:57 +01:00