Skip to content

Commit

Permalink
MORE cleanup mass dump
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Nov 19, 2024
1 parent 680e75f commit 58da2e7
Show file tree
Hide file tree
Showing 80 changed files with 4,666 additions and 3,441 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
composer.lock
src/conf/servers.json
src/conf/ranks.json
src/conf/jobs.json
src/conf/alert.html*
src/conf/candidates.json
composer.lock
Expand Down
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003,
"skipFiles": ["!**/statbus/**/*.php"],
"ignoreExceptions": ["Mediawiki\\**"],
"maxConnections": 1,
"pathMappings": {
"/opt/shiptest/statbus": "${workspaceFolder}"
}
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"php.version": "8.2"
}
3 changes: 1 addition & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Some data, when parsed, can be saved to a second database. To enable this functi
There are several files you can edit in order to tailor Statbus to your codebase:

- `src/conf/servers.json` can be used to map server information. At the minimum, you must specify a server port and name. See `src/conf/example-servers.json`.
- `src/conf/ranks.json` holds the definitions for admin rank badge colors and icons. See `src/conf/example-ranks.json` for examples. The icon field sources icons from [FontAwsome](https://fontawesome.com/icons?d=gallery&s=solid&m=free). You only need the name of the icon, the part after `fa-`.
- `src/conf/jobs.json` can be used to customize what jobs are looked at for querying role_time data (as seen on `/me`). You should copy `src/conf/example-jobs.json` into your `jobs.json` and add or remove jobs from that listing.
- `src/conf/ranks.json` holds the definitions for admin rank badge colors and icons. See `src/conf/example-ranks.json` for examples. The icon field sources icons from [FontAwsome](https://fontawesome.com/icons?d=gallery&s=solid&m=free). You only need the name of the icon, the part after `fa-`.

##Development
Slimbus can be set up in a local development environment with Docker.
Expand Down
30 changes: 13 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
{
"repositories": [
{
"type":"git",
"url":"https://github.com/nfreader/easydb"
}
],
"repositories": [],
"require": {
"php": ">=5.5.0",
"slim/slim": "^3.1",
"slim/php-view": "^2.0",
"vlucas/phpdotenv": "^2.5",
"paragonie/easydb": "@dev",
"slim/twig-view": "^2.4",
"guzzlehttp/guzzle": "^6.3",
"php": ">=7.4.0",
"slim/slim": "^3",
"slim/php-view": "^3.4",
"vlucas/phpdotenv": "^5.6",
"paragonie/easydb": "^3",
"slim/twig-view": "^2.5",
"guzzlehttp/guzzle": "^7.9",
"erusev/parsedown": "^1.7",
"kevinrob/guzzle-cache-middleware": "^3.2",
"kevinrob/guzzle-cache-middleware": "^5.1",
"league/flysystem": "^1.0",
"doctrine/cache": "^1.7",
"slim/csrf": "0.8.3",
"sensiolabs/security-checker": "^5.0",
"twig/extensions": "*"
"slim/csrf": "^0",
"twig/twig": "^3.11",
"php-di/php-di": "^6.4",
"twig/intl-extra": "^3.13"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 58da2e7

Please sign in to comment.