Commit Graph

2757 Commits

Author SHA1 Message Date
ekzyis 501885cfa0
Ignore if sub belongs to user during existence check (#904)
* Ignore if sub belongs to user during existence check

* Remove code no longer needed

* Fix territory edit

Territory edits were broken because validation failed for existing territories and if you edit an territory, it obviously already exists.

This commit fixes this by ignoring the territory that we're currently editing.

* Fix existence check using stale cache

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-03-14 11:17:53 -05:00
keyan 5065b32bde sndev login: fix identifier on conflict 2024-03-13 20:05:29 -05:00
ekzyis c8e65d5a23
Don't hide self in top even if hidden (#905)
* Don't hide self in top even if hidden

* Also don't hide self in top cowboys

* only use anon icon for anon stuff

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-03-13 19:26:59 -05:00
keyan 0b8d952e78 add sndev login 2024-03-13 18:52:58 -05:00
ekzyis 96d3034c66
Fix image fees undefined and not enforced if logged in (#909)
* Fix image fees not enforced

* Fix image fees undefined

* Add comment about return value
2024-03-13 16:08:55 -05:00
ekzyis 9b5e63cb9c
Add security.txt (#912) 2024-03-13 16:04:28 -05:00
keyan 06bde475e7 add sndev pr command 2024-03-13 15:00:58 -05:00
ekzyis f94de0f3ac
Fix zap shadow on hover (#906) 2024-03-13 11:48:16 -05:00
keyan 25cc986ba7 Merge branch 'localdev' 2024-03-13 11:25:50 -05:00
keyan 0f68ed379f prompt in help if docker isn't installed 2024-03-13 11:21:51 -05:00
Keyan 23ee62fb21
add sndev shell script and enhance docker compose local dev
* add hot reloading worker:dev script

* refine docker config

* sndev bash script and docker reliability stuff

* make posix shell

* restart: always -> unless-stopped

* proper check for postgres health

* add db seed to sndev

* refinements after fresh builds

* begin adding regtest network

* add changes to .env.sample

* reorganize docker and add static certs/macroon to lnd

* copy wallet and macaroon dbs for deterministic wallets/macaroons

* fix perms of shared directories

* allow debian useradd with duplicate id

* add auto-mining

* make bitcoin health check dependent on blockheight

* open channel between ln nodes

* improve channel opens

* add sndev payinvoice

* add sndev withdraw

* ascii art

* add sndev status

* sndev passthrough to docker and containers

* add sndev psql command

* remove script logging

* small script cleanup

* smaller db seed

* pin opensearch version

Co-authored-by: ekzyis <ek@stacker.news>

* pin opensearch dashboard

Co-authored-by: ekzyis <ek@stacker.news>

* add sndev prisma

* add help for all commands

* set -e

* s3 and image proxy with broken name resolution

* finally fully working image uploads

* use a better diff algo

---------

Co-authored-by: ekzyis <ek@stacker.news>
2024-03-13 09:04:09 -05:00
keyan 46effa6992 use a better diff algo 2024-03-12 20:04:12 -05:00
keyan 8a96fbb4d0 finally fully working image uploads 2024-03-12 18:51:58 -05:00
keyan 72ecc7b266 s3 and image proxy with broken name resolution 2024-03-12 18:05:28 -05:00
keyan bb41692acc set -e 2024-03-11 15:30:35 -05:00
keyan 32bc3f18d3 add help for all commands 2024-03-11 15:27:18 -05:00
keyan 1e9d40f152 add sndev prisma 2024-03-11 08:55:02 -05:00
Keyan b374758ed3
pin opensearch dashboard
Co-authored-by: ekzyis <ek@stacker.news>
2024-03-10 19:44:24 -05:00
Keyan fc5a4c528b
pin opensearch version
Co-authored-by: ekzyis <ek@stacker.news>
2024-03-10 19:44:02 -05:00
keyan fa3aed2386 smaller db seed 2024-03-10 19:42:07 -05:00
keyan 09a30a43c4 small script cleanup 2024-03-10 18:41:21 -05:00
keyan 4b2596f86b remove script logging 2024-03-10 18:36:00 -05:00
keyan 5572791c91 add sndev psql command 2024-03-10 18:22:54 -05:00
keyan a31d04a095 sndev passthrough to docker and containers 2024-03-10 17:30:11 -05:00
keyan 8cddbe74ff add sndev status 2024-03-10 17:10:38 -05:00
keyan 4ce413af6f ascii art 2024-03-10 16:59:15 -05:00
keyan 0500cbd2ca add sndev withdraw 2024-03-10 16:42:16 -05:00
keyan 714aecc477 add sndev payinvoice 2024-03-10 16:29:10 -05:00
keyan e824261143 improve channel opens 2024-03-10 13:29:21 -05:00
keyan c88ba74268 open channel between ln nodes 2024-03-09 23:47:32 -06:00
keyan c63622b8a4 make bitcoin health check dependent on blockheight 2024-03-09 17:56:07 -06:00
keyan c32782583f add auto-mining 2024-03-09 15:40:00 -06:00
keyan bc85e4b3c5 allow debian useradd with duplicate id 2024-03-09 12:15:36 -06:00
keyan eb7670e5c3 fix perms of shared directories 2024-03-08 20:07:43 -06:00
keyan 0e02aa7d8d copy wallet and macaroon dbs for deterministic wallets/macaroons 2024-03-08 18:40:10 -06:00
keyan 215f330771 reorganize docker and add static certs/macroon to lnd 2024-03-08 13:11:58 -06:00
keyan 7fe959a720 add changes to .env.sample 2024-03-07 21:29:13 -06:00
keyan 85c1303185 begin adding regtest network 2024-03-07 21:24:42 -06:00
keyan 1b275517fd refinements after fresh builds 2024-03-07 16:40:26 -06:00
Keyan 265f92af35
Merge branch 'master' into localdev 2024-03-07 15:24:41 -06:00
keyan af2890075c add db seed to sndev 2024-03-07 15:19:49 -06:00
keyan b3bf3dba28 proper check for postgres health 2024-03-07 13:18:23 -06:00
keyan f2fd2eb1d7 restart: always -> unless-stopped 2024-03-07 10:19:37 -06:00
keyan fab750352f make posix shell 2024-03-07 10:02:59 -06:00
ekzyis 179a539d4d
Parse numeric strings as numbers (#902)
* Parse numeric strings as numbers

* Additionally check for type of field value
2024-03-06 19:45:00 -06:00
keyan 51dba02569 sndev bash script and docker reliability stuff 2024-03-06 19:04:55 -06:00
keyan 0614cfe979 refine docker config 2024-03-06 17:50:01 -06:00
keyan a3428d1edc add hot reloading worker:dev script 2024-03-06 16:50:48 -06:00
keyan b38a5e653c make image aspect ratio a fraction 2024-03-06 15:15:11 -06:00
keyan 575a820a7a fix broken merge 2024-03-06 14:35:45 -06:00