Commit Graph

2603 Commits

Author SHA1 Message Date
ekzyis 922d2394fd Remove unnecessary withdrawl field 2024-03-26 02:10:46 +01:00
ekzyis a1317b97e9 Add missing unitSingular, unitPlural 2024-03-26 00:53:49 +01:00
ekzyis d1f36b77d2 Add withdrawal push notifications 2024-03-26 00:50:48 +01:00
ekzyis 3388f818cf Add withdrawal notifications 2024-03-26 00:50:48 +01:00
Keyan 2f818fc968
Merge pull request #948 from felipebueno/mailhog
Add MailHog container to provide login with email without extra config
2024-03-25 17:54:57 -05:00
Keyan 2055ccaf41
Merge branch 'master' into mailhog 2024-03-25 17:46:56 -05:00
Keyan 3a00695041
Merge pull request #965 from stackernews/zap-undo-threshold
Use thresholds to trigger zap undos
2024-03-25 17:34:10 -05:00
Keyan e60f1b80d3
Merge pull request #962 from stackernews/more-zap-undo-fixes
More zap undo fixes II
2024-03-25 17:32:30 -05:00
Keyan cce5168b6f
Update awards.csv 2024-03-25 17:29:27 -05:00
Keyan 59b0027ad0
Merge pull request #970 from AustinKelsay/bugfix-crosspost-link-context
Add context field to crossposted link if present
2024-03-25 17:25:22 -05:00
Keyan 0cb2b7d4f6
Update awards.csv 2024-03-25 17:20:26 -05:00
austinkelsay a9506c4532 Add context field to crossposted link if present 2024-03-25 17:16:45 -05:00
Keyan 811d46d9b5
Merge pull request #955 from SatsAllDay/901-chart-skeletons
Chart skeletons
2024-03-25 17:07:36 -05:00
Satoshi Nakamoto 263d0cc425 remove duplicative styles 2024-03-25 15:35:32 -04:00
Satoshi Nakamoto 32bc483e48 chart skeletons 2024-03-25 15:35:32 -04:00
ekzyis 81502f8645 Better zapUndos default 2024-03-25 20:34:28 +01:00
ekzyis 3da299bddc Fix zapUndos not nullable in schema 2024-03-25 20:34:28 +01:00
ekzyis fe3724aa7d Rename to ZapUndosField
This makes the component name more consistent with the setting.
2024-03-25 20:34:28 +01:00
ekzyis 46f044552a Remove unnecessary false 2024-03-25 20:34:28 +01:00
ekzyis c2aef34ba2 Add threshold for zap undos 2024-03-25 20:34:28 +01:00
ekzyis 42d7a31584 Fix custom zap modal closed after zap undo 2024-03-25 20:32:23 +01:00
ekzyis 0193ac97fe Fix toast progress bar jump due to end flow hack
If an underlying toast finished, an empty toast that automatically immediately hides was dispatched to end the flow ("end flow hack").

If this empty toast had the same tag, the code marked the top toast as hidden even though it was not hidden.

This meant that during render, the animation-delay for the top toast (which was already rendered) was added again, leading to a progress bar jump.

This is fixed by no longer using this "end flow hack" where a toast is dispatched but a dedicated function to end flows.
2024-03-25 20:32:23 +01:00
ekzyis 17071fa615 Add missing tag to custom zap toasts 2024-03-25 20:32:23 +01:00
Keyan 5efbe2e0a6
Merge pull request #968 from stackernews/sndev-keep-standard-ports
Keep standard ports inside container
2024-03-25 13:31:19 -05:00
ekzyis f4a7819bb3 Keep standard ports inside container
This makes it possible to continue to use lncli without --rpcserver inside the docker container even if the GRPC port exposed on the host machine is different.

This is the case on my machine since I am running a mainnet LND node on my machine so port 10009 is already used.

I could change the port to 20009 via LND_GRPC_PORT and STACKER_LND_GRPC_PORT (they can even have the same port) but then lncli inside the container needs to be aware of that which means that the sndev script would need to parse .env.development (or some other "magic") to know the GRPC port inside the container.

However, I decided that using standard ports inside the container is better to keep the sndev script simple at the cost of having to think about host vs container ports since they are different now.

One reason for that is that I think one even does not need to think about the host ports since they aren't even needed? But that's another topic.
2024-03-25 19:02:32 +01:00
Keyan 7e10325309
Merge pull request #966 from stackernews/delete-api-webpush
Remove unused api/webPush/index.js
2024-03-25 09:26:20 -05:00
Keyan 2597d431c2
Merge pull request #967 from stackernews/remove-unnecessary-sndev-fn
Remove unused functions in sndev
2024-03-25 09:26:01 -05:00
Keyan f6729125e7
Merge pull request #964 from stackernews/tsx-platform-fix
reinstall tsx without node_modules present
2024-03-25 09:24:45 -05:00
ekzyis 176b3ec468 Remove unused functions in sndev 2024-03-25 14:50:51 +01:00
Felipe Bueno e919efc144 MailHog healthcheck with wget instead of curl 2024-03-25 09:26:45 -03:00
ekzyis 00447d5662 Remove unused api/webPush/index.js 2024-03-25 13:14:21 +01:00
Felipe Bueno 06005e3e40 Fix mailhog web UI url on README 2024-03-25 09:09:35 -03:00
keyan 2387c8c307 reinstall tsx without node_modules present 2024-03-24 17:36:24 -05:00
Keyan a289c9a1f4
Merge pull request #963 from stackernews/lastzapat
Add a denormalized lastZapAt field to items for notifications performance
2024-03-24 14:31:03 -05:00
keyan edb3dd365c denormalize last zap on item for notification querying 2024-03-24 14:16:29 -05:00
keyan 2502c176f1 improve sndev db healthcheck 2024-03-24 13:59:23 -05:00
Keyan 8aee4f41df
Update awards.csv for #960 2024-03-24 13:52:46 -05:00
SatsAllDay 9bc95d4bb1
gracefully handle errors when fetching lnurlp wellknown info (#960)
if `fetch` or `req.json` fails, catch those errors and return a default error to the user

if the res payload indicates error but doesn't return a `reason`, also return the same
default error message to the user
2024-03-24 13:25:14 -05:00
Keyan a7b0272200
denormalize replies (#958) 2024-03-23 23:15:00 -05:00
keyan e565e74e2d award for #956 2024-03-23 20:43:39 -05:00
Keyan 5dafe510eb
sndev start docker compose overrides (#957) 2024-03-23 20:34:13 -05:00
SatsAllDay 90c9e21ac4
validate nym arg presence on `./sndev login` command (#956)
check to ensure that a nym is provided to the login command before
proceeding. if omitted, echo an error message, display the help
for the login command, then exit with a non-zero exit code
2024-03-23 20:09:45 -05:00
keyan 101926a8bc award for #926 2024-03-23 17:00:30 -05:00
SatsAllDay 7087647cc0
Add top stackers, spender, and cowboys to newsletter (#954)
* Add top cowboys, stackers, and spenders to newsletter

* Rearrange to match the issue title

* fix top spenders `by` variable

* Update user resolver for top users `spending` `by` value

* wrap in try catch to not have errors break the script execution

return the array as defined whenever an error occurs
2024-03-23 12:23:31 -05:00
Felipe Bueno eef9b3de4d Add email to COMPOSE_PROFILES on sndev + Cleanup README instructions 2024-03-21 15:02:58 -03:00
Felipe Bueno 561e62481d Add 'profiles: email' to the MailHog container 2024-03-21 09:16:29 -03:00
keyan 4b4a5361ef fix #951 also retroactively 2024-03-20 20:56:40 -05:00
ekzyis 01d779723f
Check userId set in sendUserNotification (#949) 2024-03-20 19:59:48 -05:00
ekzyis 889d494eaf
Disable billing autorenew on transfer (#950) 2024-03-20 19:59:06 -05:00
ekzyis a1a82b9680
Delete unused lib/push-notifications.js (#947) 2024-03-20 19:58:42 -05:00