Skip to content

Commit 0529d59

Browse files
committed
refactor: rename SAIBA to SAIBAR across entire codebase
1 parent 9244202 commit 0529d59

75 files changed

Lines changed: 294 additions & 294 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/backend-ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI Backend
22

33
# Sanity check tiap perubahan backend: dependensi terpasang bersih, tidak ada
44
# error sintaks PHP, dan seluruh suite PHPUnit hijau di DB Postgres+PostGIS
5-
# yang meniru saiba_test lokal (lihat backend/.env.testing.example).
5+
# yang meniru saibar_test lokal (lihat backend/.env.testing.example).
66

77
on:
88
push:
@@ -29,7 +29,7 @@ jobs:
2929
postgres:
3030
image: postgis/postgis:17-3.4-alpine
3131
env:
32-
POSTGRES_DB: saiba_test
32+
POSTGRES_DB: saibar_test
3333
POSTGRES_USER: postgres
3434
POSTGRES_PASSWORD: postgres
3535
ports:
@@ -47,7 +47,7 @@ jobs:
4747
DB_CONNECTION: pgsql
4848
DB_HOST: 127.0.0.1
4949
DB_PORT: 5432
50-
DB_DATABASE: saiba_test
50+
DB_DATABASE: saibar_test
5151
DB_USERNAME: postgres
5252
DB_PASSWORD: postgres
5353
CACHE_STORE: array
@@ -84,7 +84,7 @@ jobs:
8484
run: find app bootstrap config database routes tests -name "*.php" -print0 | xargs -0 -n1 -P4 php -l
8585

8686
- name: Pastikan ekstensi PostGIS aktif
87-
run: PGPASSWORD=postgres psql -h 127.0.0.1 -U postgres -d saiba_test -c "CREATE EXTENSION IF NOT EXISTS postgis;"
87+
run: PGPASSWORD=postgres psql -h 127.0.0.1 -U postgres -d saibar_test -c "CREATE EXTENSION IF NOT EXISTS postgis;"
8888

8989
- name: Migrasi + seed database uji
9090
run: php artisan migrate:fresh --seed --force

‎.github/workflows/e2e-nightly.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: E2E Nightly (Playwright)
44
# workflow yang memanggilnya, jadi bisa membusuk tanpa ketahuan. Job ini
55
# menjalankannya tiap malam (02:30 UTC = 09:30 WIB) dan bisa dipicu manual.
66
# Ini memakai server & DB uji yang sama dengan dev lokal: backend artisan
7-
# serve --env=testing di port 8123, vite dev di 5273, DB saiba_test
7+
# serve --env=testing di port 8123, vite dev di 5273, DB saibar_test
88
# di-reset (migrate:fresh --seed) oleh global-setup.
99

1010
on:
@@ -21,7 +21,7 @@ jobs:
2121
postgres:
2222
image: postgis/postgis:17-3.4-alpine
2323
env:
24-
POSTGRES_DB: saiba_test
24+
POSTGRES_DB: saibar_test
2525
POSTGRES_USER: postgres
2626
POSTGRES_PASSWORD: postgres
2727
ports:
@@ -39,7 +39,7 @@ jobs:
3939
DB_CONNECTION: pgsql
4040
DB_HOST: 127.0.0.1
4141
DB_PORT: 5432
42-
DB_DATABASE: saiba_test
42+
DB_DATABASE: saibar_test
4343
DB_USERNAME: postgres
4444
DB_PASSWORD: postgres
4545
CACHE_STORE: array
@@ -83,7 +83,7 @@ jobs:
8383
run: npx playwright install --with-deps chromium
8484

8585
- name: Pastikan ekstensi PostGIS aktif
86-
run: PGPASSWORD=postgres psql -h 127.0.0.1 -U postgres -d saiba_test -c "CREATE EXTENSION IF NOT EXISTS postgis;"
86+
run: PGPASSWORD=postgres psql -h 127.0.0.1 -U postgres -d saibar_test -c "CREATE EXTENSION IF NOT EXISTS postgis;"
8787

8888
# global-setup Playwright menjalankan migrate:fresh --seed --env=testing
8989
# sendiri, jadi cukup panggil `npm run e2e` — kedua server (backend 8123,

‎.github/workflows/migrate-production.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
migrate:
1212
runs-on: ubuntu-latest
13-
if: github.repository == 'udinvoldigoad/SAIBA'
13+
if: github.repository == 'udinvoldigoad/SAIBAR'
1414
steps:
1515
- uses: actions/checkout@v4
1616

‎.github/workflows/ml-predict-astronomical.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
predict-sore:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 20
17-
if: github.repository == 'udinvoldigoad/SAIBA'
17+
if: github.repository == 'udinvoldigoad/SAIBAR'
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-python@v5

‎.github/workflows/ml-predict.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 30
1515
# Hanya jalan di repo utama (bukan fork) supaya secrets tersedia.
16-
if: github.repository == 'udinvoldigoad/SAIBA'
16+
if: github.repository == 'udinvoldigoad/SAIBAR'
1717
steps:
1818
- uses: actions/checkout@v4
1919

‎.gitignore‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ npm-debug.log*
4040
# === Database ===
4141
*.sqlite
4242
backend/database/*.sqlite
43-
backend/saiba_rob
43+
backend/saibar_rob
4444
database/*.sqlite
4545
database/local-data/
46-
saiba_dump.sql
46+
saibar_dump.sql
4747
*.sql
4848
pg_server.log
4949
scratch.json

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# 🌊 SAIBA
1+
# 🌊 SAIBAR
22
> **Sistem Informasi Risiko Banjir Rob Terpadu**
33
4-
[![Version](https://img.shields.io/badge/Version-1.2.0-blue.svg?style=for-the-badge)](https://github.com/udinvoldigoad/SAIBA)
4+
[![Version](https://img.shields.io/badge/Version-1.2.0-blue.svg?style=for-the-badge)](https://github.com/udinvoldigoad/SAIBAR)
55
[![Laravel](https://img.shields.io/badge/Laravel-11-red.svg?style=for-the-badge&logo=laravel)](https://laravel.com)
66
[![React](https://img.shields.io/badge/React-18-cyan.svg?style=for-the-badge&logo=react)](https://react.dev)
77
[![Python](https://img.shields.io/badge/Python-3.11-yellow.svg?style=for-the-badge&logo=python)](https://python.org)
88
[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-17-blue.svg?style=for-the-badge&logo=postgresql)](https://postgresql.org)
99
[![PostGIS](https://img.shields.io/badge/PostGIS-3.6-darkblue.svg?style=for-the-badge&logo=postgresql)](https://postgis.net)
1010

11-
SAIBA adalah **Sistem Informasi Geografis (SIG)** berbasis WebGIS terpadu yang memanfaatkan kecerdasan buatan (*Machine Learning*) untuk memproyeksikan, memantau, dan memitigasi bencana banjir rob (genangan pasang air laut) secara *real-time* di wilayah pesisir Provinsi Lampung.
11+
SAIBAR adalah **Sistem Informasi Geografis (SIG)** berbasis WebGIS terpadu yang memanfaatkan kecerdasan buatan (*Machine Learning*) untuk memproyeksikan, memantau, dan memitigasi bencana banjir rob (genangan pasang air laut) secara *real-time* di wilayah pesisir Provinsi Lampung.
1212

1313
---
1414

‎backend/.env.example‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_NAME=SAIBA
1+
APP_NAME=SAIBAR
22
APP_ENV=local
33
APP_KEY=
44
# Default aman untuk produksi. Setel true HANYA di mesin dev lokal —
@@ -11,7 +11,7 @@ LOG_MAX_FILES=14
1111
DB_CONNECTION=pgsql
1212
DB_HOST=127.0.0.1
1313
DB_PORT=5432
14-
DB_DATABASE=saiba
14+
DB_DATABASE=saibar
1515
DB_USERNAME=postgres
1616
DB_PASSWORD=
1717

@@ -26,7 +26,7 @@ SANCTUM_STATEFUL_DOMAINS=localhost,127.0.0.1
2626
# Isi HANYA bila frontend dilayani dari origin lain (pisahkan dengan koma) —
2727
# jangan pakai "*". Nilai kosong (`CORS_ALLOWED_ORIGINS=`) juga salah: itu
2828
# menimpa default dengan daftar kosong, bukan mengembalikannya.
29-
# CORS_ALLOWED_ORIGINS=https://SAIBA.example.id
29+
# CORS_ALLOWED_ORIGINS=https://SAIBAR.example.id
3030
CORS_SUPPORTS_CREDENTIALS=false
3131

3232
# ── WebPush (notifikasi push browser) ────────────────────────────

‎backend/.env.production.example‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# Template .env production SAIBA (Hostinger shared + Supabase).
1+
# Template .env production SAIBAR (Hostinger shared + Supabase).
22
# Salin ke .env di server lalu isi semua nilai <...> — JANGAN commit nilai asli.
33
# Prosedur rotasi secret: docs/operations/secret-rotation.md (bila ada perubahan).
44

55
# ── Aplikasi ─────────────────────────────────────────────────────
6-
APP_NAME=SAIBA
6+
APP_NAME=SAIBAR
77
APP_ENV=production
88
# Generate sekali di server: php artisan key:generate --show
99
APP_KEY=<base64-app-key>
1010
APP_DEBUG=false
11-
APP_URL=https://saiba.girimulyo.com
11+
APP_URL=https://saibar.girimulyo.com
1212

1313
# URL SPA frontend tujuan redirect setelah login Google (WAJIB di produksi,
1414
# kalau kosong redirect OAuth jatuh ke http://localhost:5173).
15-
FRONTEND_URL=https://saiba.girimulyo.com
15+
FRONTEND_URL=https://saibar.girimulyo.com
1616

17-
# Google OAuth — dari project di akun SAIBArob. Redirect URI harus terdaftar
17+
# Google OAuth — dari project di akun SAIBARrob. Redirect URI harus terdaftar
1818
# persis di Google Cloud Console > Credentials.
1919
GOOGLE_CLIENT_ID=<client-id-baru>.apps.googleusercontent.com
2020
GOOGLE_CLIENT_SECRET=<client-secret-baru>
21-
GOOGLE_REDIRECT_URI=https://saiba.girimulyo.com/api/auth/google/callback
21+
GOOGLE_REDIRECT_URI=https://saibar.girimulyo.com/api/auth/google/callback
2222

2323
# Log harian, hanya warning ke atas; retensi default 14 hari.
2424
LOG_CHANNEL=daily
@@ -52,8 +52,8 @@ BACKUP_ARCHIVE_PASSWORD=
5252

5353
# ── Keamanan & batas laju ────────────────────────────────────────
5454
# Deployment satu-origin: cukup domain resmi frontend.
55-
CORS_ALLOWED_ORIGINS=https://saiba.girimulyo.com
56-
SANCTUM_STATEFUL_DOMAINS=saiba.girimulyo.com
55+
CORS_ALLOWED_ORIGINS=https://saibar.girimulyo.com
56+
SANCTUM_STATEFUL_DOMAINS=saibar.girimulyo.com
5757
# Batas laju endpoint publik (per menit per IP) — bisa disetel tanpa deploy.
5858
PUBLIC_RATE_LIMIT=180
5959
PUBLIC_EXPORT_RATE_LIMIT=20
@@ -77,5 +77,5 @@ MAIL_USERNAME=akun@gmail.com
7777
MAIL_PASSWORD=<app-password-16-karakter-tanpa-spasi>
7878
MAIL_ENCRYPTION=tls
7979
MAIL_FROM_ADDRESS=akun@gmail.com
80-
MAIL_FROM_NAME=SAIBA
80+
MAIL_FROM_NAME=SAIBAR
8181

‎backend/.env.testing.example‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# terisolasi, bukan DB dev.
44
#
55
# Siapkan sekali (atau tiap ada migrasi baru):
6-
# CREATE DATABASE saiba_test; lalu di dalamnya: CREATE EXTENSION postgis;
6+
# CREATE DATABASE saibar_test; lalu di dalamnya: CREATE EXTENSION postgis;
77
# php artisan migrate:fresh --seed --env=testing --force
8-
APP_NAME=SAIBA
8+
APP_NAME=SAIBAR
99
APP_ENV=testing
1010
APP_KEY=
1111
APP_DEBUG=true
@@ -14,7 +14,7 @@ APP_URL=http://localhost:8000
1414
DB_CONNECTION=pgsql
1515
DB_HOST=127.0.0.1
1616
DB_PORT=5432
17-
DB_DATABASE=saiba_test
17+
DB_DATABASE=saibar_test
1818
DB_USERNAME=postgres
1919
DB_PASSWORD=
2020

0 commit comments

Comments
 (0)