Commit Graph

471 Commits

Author SHA1 Message Date
keyan 8830b8ee9c slight mods to open redirect fix 2023-05-07 08:34:08 -05:00
ekzyis a396933be2 Fix slash after stacker.news not required
The slash should be required else we could still redirect to external sites.

For example, a site could just use "stacker.news" as a subdomain: https://stacker.news.mallory.com/
2023-05-07 07:52:56 -05:00
ekzyis decca40c94 Return 500 if callback URL is external 2023-05-07 07:52:56 -05:00
keyan 347a6a54d2 improve comment performance 2023-05-06 16:51:17 -05:00
keyan b406f0c340 avoid db dip for sub 2023-05-05 12:39:57 -05:00
keyan 5e6e6a18e6 a little cleanup on new rss feeds 2023-05-04 15:05:07 -05:00
ekzyis d98421d9cd Add RSS feeds for ~bitcoin and ~nostr 2023-05-04 13:43:40 -05:00
keyan 4e817a232d sub related enchancements 2023-05-02 11:55:10 -05:00
keyan 4be5286122 hide cowboy hat setting 2023-05-01 16:52:02 -05:00
keyan a241d683d8 nostr sub 2023-05-01 15:58:30 -05:00
mvpratt 48b08d2aff limit oauth scope to minimum possible: public github info for user 2023-04-26 13:02:42 -05:00
keyan a3e928dc42 correct lnurlp nostr pubkey stuff 2023-02-24 10:41:47 -06:00
ekzyis 98daae478f
Fix broken link to top users in settings (#241) 2023-02-24 09:49:57 -06:00
ekzyis 7b838cdeb2
Implement bookmarking of posts and comments (#235) 2023-02-16 16:23:59 -06:00
keyan 30cde2ea38 fix nip57? 2023-02-15 11:20:43 -06:00
keyan 9f2c8d64bc use decodeURIComponent instead 2023-02-14 19:04:05 -06:00
keyan 93d4581360 complete nip 57 support 2023-02-14 16:58:12 -06:00
keyan ef5346000b support NIP-57 2023-02-14 12:52:15 -06:00
keyan 97f74da0fd top cowboys 2023-02-09 12:41:28 -06:00
keyan 74df0db035 client side error boundary 2023-02-08 17:59:14 -06:00
keyan 4cae1ae230 reuse validation on server 2023-02-08 13:39:53 -06:00
keyan 0a0f10b290 update user count 2023-02-04 17:31:18 -06:00
keyan c1080ec4d7 fixes for top 2023-02-03 13:10:18 -06:00
keyan 072e60c954 streaks 2023-02-01 17:40:49 -06:00
keyan a6ce93c2bb support NIP-19 in NIP-05 2023-02-01 09:54:08 -06:00
Austin Kelsay e13e37744e
stackernews bounties (#227)
bounties
2023-01-26 10:11:55 -06:00
keyan 29c59d93ea open timestamps 2023-01-22 14:17:50 -06:00
keyan 9644a9f867 slashtags auth 2023-01-18 12:49:20 -06:00
keyan 10ff3fa1c3 delete 2023-01-13 11:52:18 -06:00
Keyan 7c91f279c5
Merge branch 'master' into master 2023-01-11 12:26:57 -06:00
keyan ae5c6c457f global modal + small fixes/enhancements 2023-01-10 17:13:37 -06:00
keyan 79af1b5852 add missing signup file 2023-01-09 18:56:19 -06:00
keyan c2685a659e sign up buttons 2023-01-09 18:33:44 -06:00
keyan eada9d92ad fix empty nostr relay settings 2023-01-06 19:18:03 -06:00
keyan 2d012ba7fe allow nip05 for users 2023-01-06 18:53:29 -06:00
keyan 76b5b7743e fix blockquote spacing 2023-01-05 19:06:31 -06:00
keyan 2080cb896d lexical beta test url 2023-01-05 13:24:09 -06:00
kerooke 335125f57b
Merge branch 'stackernews:master' into master 2022-12-29 11:38:53 -05:00
keyan 41226245c5 referrals 2022-12-19 16:27:52 -06:00
kerooke cd56416e3f
Update satistics.js 2022-12-11 13:30:35 -05:00
keyan 3579e3346f fix learn about rewards link typo 2022-12-09 15:23:45 -06:00
keyan 7b7ed0047c turbo tipping 2022-12-09 13:25:38 -06:00
keyan e1bdb9c769 donations to rewards 2022-12-07 18:04:02 -06:00
keyan f6a95c81eb add spender/stacker types 2022-12-06 13:26:33 -06:00
keyan e28b74fd85 extract day/month/year as UTC 2022-12-01 17:46:56 -06:00
keyan 2a4e5a0617 add more filters to recent 2022-12-01 16:42:49 -06:00
keyan a2db3e18b4 better user analytics mostly 2022-12-01 15:31:04 -06:00
keyan ebbd1175b1 don't mix int types 2022-11-26 18:23:49 -06:00
keyan de863021f9 prevent apollo caching on the server 2022-11-24 13:22:58 -06:00
keyan 5746160893 let tips affect ranking 2022-11-23 12:12:09 -06:00
keyan 1bf747c7c0 sats to msats 2022-11-16 10:57:03 -06:00
keyan 525cab2573 upgrade deps 2022-11-06 11:28:58 -06:00
keyan a1690ed511 improve freebie wrt boost, get off free earlier 2022-11-01 14:32:56 -05:00
keyan 760b6b6e10 related items 2022-10-27 15:25:42 -05:00
keyan a398784f26 improved top 2022-10-25 16:35:32 -05:00
keyan 30b1ee33aa user search 2022-10-25 12:13:06 -05:00
keyan e4d150413b search filters 2022-10-20 17:44:44 -05:00
keyan 729bcead69 select instead of dropdown for currency 2022-10-04 16:21:42 -05:00
ekzyis 2dd4b1ce98
Merge branch 'master' into 103-add-other-currencies 2022-10-04 01:01:43 +02:00
keyan 46ea2f661c make jobs great again 2022-09-29 15:42:33 -05:00
keyan d9d426e5c3 add freebies 2022-09-27 16:19:15 -05:00
keyan dd233346d9 don't rank outlawed/borderland 2022-09-23 09:27:01 -05:00
keyan 9c4d74888f add borderland 2022-09-22 15:42:04 -05:00
keyan 2c7c237fc7 show when items are outlawed 2022-09-22 13:44:50 -05:00
keyan 7faae425b3 wild west mode 2022-09-21 14:57:36 -05:00
ekzyis c184faf017 Use dropdown for fiat selection in settings 2022-09-18 03:45:21 +02:00
ekzyis 455ca25efa Validate currency input 2022-09-13 02:03:45 +02:00
ekzyis 5d4abecf3c Add input for fiat currency in settings 2022-09-13 02:02:55 +02:00
keyan 52de4a253e max amount for alby 2022-09-06 09:37:53 -05:00
keyan 7efc86427d maintage pagination and other state on back button 2022-09-06 08:32:00 -05:00
keyan 58eb840adb prevent default on privacy invoice info click 2022-09-02 11:58:16 -05:00
keyan 172d6c3c2f optionally hide invoice descriptions 2022-08-30 16:50:47 -05:00
keyan 0ad886ffc0 constrain invoice quantity and amount 2022-08-30 15:33:39 -05:00
keyan d32fa05e42 fix react error 2022-08-25 12:27:03 -05:00
keyan fba0187b2c add link to recent/comments 2022-08-23 17:34:51 -05:00
keyan ccb5a81dd5 add recent comments 2022-08-18 17:05:58 -05:00
keyan 03723bd5ee fix bad earn link it satistics 2022-08-18 15:57:48 -05:00
keyan 388c7d0240 full powered editing 2022-08-18 13:15:24 -05:00
keyan ddb4a30c4b spam fees 2022-08-11 15:38:10 -05:00
keyan 82280b0966 add polls 2022-07-30 08:51:04 -05:00
keyan 08defc561b improved heading and images for markdown 2022-07-13 18:00:48 -05:00
keyan b8f57e0c3c add Onion-Location header 2022-07-12 13:18:12 -05:00
keyan fde8937098 add onion address 2022-07-12 11:40:44 -05:00
keyan 4c7a6e4998 fixes/enhancements to users dashboard 2022-07-01 13:26:34 -05:00
keyan 0b3b690c10 user stats 2022-06-24 10:38:00 -05:00
keyan 2c749dd07f monthly earning users 2022-06-22 16:13:51 -05:00
keyan f024cd39a2 add usage mvp usage charts 2022-06-10 14:20:33 -05:00
keyan 1df49e03d9 account linking 2022-06-08 16:26:44 -05:00
keyan c061f4a6f0 limit pending invoices 2022-05-31 17:17:48 -05:00
keyan 44f59f1f34 remove meta tags from _document.js 2022-05-19 11:50:38 -05:00
keyan 47392f0d7c expire lnurl withdrawals after an hour 2022-05-19 11:50:02 -05:00
keyan 6a8fba14eb check invoice description hash against lnurl pay metadata 2022-05-19 09:22:25 -05:00
keyan 9c8396670a adhere to lnurlp spec better 2022-05-19 08:18:28 -05:00
keyan 9287e7b93c allow user to visit/bookmark empty search page 2022-05-18 16:09:44 -05:00
keyan 16957cba34 improve error pages 2022-05-18 15:55:06 -05:00
keyan daa4dc750b fix satistics profile photo issue 2022-05-18 14:31:24 -05:00
keyan e2409efbaf indicate to user when there are new jobs 2022-05-09 13:01:23 -05:00
keyan aa4ac2ecc9 add ln addr + lnurl pay qr code to profile pages 2022-05-06 14:34:35 -05:00
keyan 771978d562 sub to newsletter on sign up 2022-05-04 13:29:30 -05:00
keyan dc44764008 limit related queries in me query for SSR 2022-04-28 17:00:09 -05:00
keyan 934c5021a9 a few perf enhancements + gql slowlogs 2022-04-28 13:11:05 -05:00
keyan 8e0aaab161 refine module instantiation 2022-04-27 17:06:42 -05:00
keyan 2dba0b3ffe invite warning message 2022-04-26 10:48:30 -05:00
keyan 2608cbc326 fix notification setting label typo 2022-04-23 18:55:38 -05:00
keyan 188230c37c add notification settings 2022-04-21 17:50:02 -05:00
keyan d91eb02c74 don't 404 for inactive job that user owns 2022-04-21 13:06:52 -05:00
keyan 74b191837e refine reply-only notifications 2022-04-21 12:48:27 -05:00
keyan e1ffef8308 allow just showing replies in notifications 2022-04-20 16:35:30 -05:00
keyan ae916ecb97 add notFound function to SSR HOF, 404 inactive jobs 2022-04-18 11:40:08 -05:00
keyan f40fe85d5a font-display: swap 2022-04-15 11:23:37 -05:00
keyan dfea0db775 load darkmode script from cdn 2022-04-15 10:59:39 -05:00
keyan 9b8238616a make mobile shortcut icons pretty 2022-04-14 12:05:44 -05:00
Keyan 49ca1847a2
Merge pull request #123 from secondl1ght/master
Typo fix on wallet page
2022-03-22 15:20:16 -05:00
keyan 5ff856d061 earning 2022-03-17 15:13:19 -05:00
secondl1ght d056a4c120
Update wallet.js 2022-03-17 12:04:53 -06:00
keyan 344958943c provide 'plain text' email login link for users using embedded browsers in their mobile email clients 2022-03-10 16:47:00 -06:00
keyan a989140653 fix profile posts and comments pagination 2022-03-03 17:53:16 -06:00
keyan 2afd1c437b 404 on nonexistant sub 2022-03-03 16:18:16 -06:00
keyan b954186d31 jobs w/o payments yet 2022-02-24 13:05:57 -06:00
keyan 155307127c add sub route 2022-02-24 11:54:25 -06:00
keyan 3e977c020d fix lightning font loading 2022-02-23 21:17:10 -06:00
keyan 8c2a4dc76a add search SEO and capture 2022-02-05 11:29:41 -06:00
keyan 8829fccdef add top spenders to top page 2022-02-02 16:01:48 -06:00
keyan 9490b3dc5f max fee needs to be a number 2022-02-02 16:01:48 -06:00
keyan dce189703c make wot ranking live + wot ranked comments 2022-02-02 16:01:48 -06:00
keyan 751abaa1ad fix user posts/comments fetchMore 2022-01-30 11:43:22 -06:00
keyan d22991bc3b empty when at end of search 2022-01-27 14:31:16 -06:00
keyan f1fd1f3c9c not found on empty search 2022-01-27 14:15:18 -06:00
keyan afed19430c working search 2022-01-27 13:18:48 -06:00
keyan 28b86af898 basic search query api 2022-01-26 09:35:14 -06:00
keyan d0403fc959 fix lnurlp domain 2022-01-25 14:28:50 -06:00
keyan e37475f927 send to lightning address 2022-01-24 11:25:15 -06:00
keyan 5776096eb1 remove font preload 2022-01-21 14:00:32 -06:00
keyan d102065479 don't request email from gh 2022-01-19 17:14:45 -06:00
keyan abac0c8c70 fix weird satistics filter bug 2022-01-19 15:51:55 -06:00
keyan 6b19b10bb2 invite notifications 2022-01-19 15:02:38 -06:00
keyan cdfe973a65 add wot page 2022-01-17 16:38:40 -06:00
keyan cefd6793f8 different 400/500 image component 2022-01-13 12:16:00 -06:00
keyan f9016d13ee only check capture if not page is not cached 2022-01-12 19:35:17 -06:00
keyan 3d94ef32ac improve screen capture: 2x resolution, caching, exit on exception 2022-01-12 17:13:09 -06:00
keyan f4006686d9 custom error pages 2022-01-11 13:38:15 -06:00
keyan 9d07318156 cast amount 2022-01-09 11:22:43 -06:00
keyan 8286095871 msats on lnaddr pay 2022-01-09 11:13:57 -06:00
keyan 25e46a525d fix lnaddr not checking 2022-01-09 10:50:51 -06:00
keyan 41323883a5 utf-8 encode rss 2022-01-07 15:29:38 -06:00
keyan cb9922b373 withdrawal failure links to withdrawal form 2022-01-07 15:22:44 -06:00
keyan c3e6627cea support pinned posts + recurring pins 2022-01-07 10:32:31 -06:00
keyan e950b0df7f add job queue 2022-01-05 14:37:34 -06:00
keyan fcb7d847e4 make satistics table responsive 2021-12-17 10:57:32 -06:00
keyan a126d5fa94 top users 2021-12-16 18:39:19 -06:00
keyan 3e17eb1688 top users query 2021-12-16 18:01:02 -06:00
keyan 8e5327022d WIP top comments and users 2021-12-16 17:05:31 -06:00
keyan 54c1c8c41b wallet history link on wallet pages 2021-12-16 14:17:50 -06:00
keyan bbc34edf51 satistics done 2021-12-16 14:02:17 -06:00
keyan d92f58aaf4 inv & with satistics + filtering 2021-12-16 11:27:12 -06:00
keyan 06f5ed731e satisitics with invoice & withdrawal 2021-12-15 10:50:11 -06:00
keyan 7989e38207 limit to one capture at a time 2021-11-30 09:35:17 -06:00
keyan c7ae5dc8ac ssr me and price 2021-11-28 11:29:17 -06:00
keyan d7238a6d6d bio warning 2021-11-23 15:23:25 -06:00
keyan c89fb2716a don't load dark mode as a module 2021-11-16 14:55:40 -06:00
keyan d0687e626b fix dark mode flash on non-homepage 2021-11-16 13:17:13 -06:00
keyan f56315f89f add progress bar and fix reply padding 2021-11-13 07:28:08 -06:00
keyan dd97710d71 many small design enhancements 2021-11-12 16:39:52 -06:00
keyan 749b49c313 preload font, only show header items when they're done loading 2021-11-11 16:14:42 -06:00
keyan bdf63a85be fix invites 2021-11-11 11:38:41 -06:00
keyan a3544fb67f dark mode with css variables instead 2021-11-09 16:43:56 -06:00
keyan c6e6ddfa65 half-working local storage version 2021-11-09 11:38:58 -06:00
keyan 20b3a5af63 working backend version 2021-11-08 14:07:37 -06:00
keyan 3bbf3f7470 add dark mode 2021-11-04 19:07:41 -04:00
keyan 2d97314d33 dark mode without ability to switch 2021-11-04 14:22:03 -04:00
keyan 2eaf407f17 add settings page 2021-10-30 11:20:11 -05:00
keyan b8080137a8 lnurl-withdrawal support 2021-10-28 14:59:53 -05:00
keyan 945225d205 return 404 for nonexistant users and items 2021-10-26 16:31:39 -05:00
keyan 744f9d3560 remove auto focus on invites page 2021-10-26 16:09:16 -05:00
keyan 07b9da353b smarter use of SSR and caching 2021-10-26 15:49:37 -05:00
keyan 06b0424b82 mess with cache etc 2021-10-25 14:49:46 -05:00
keyan 55af57a5b7 move website capture to a spawned process 2021-10-22 17:21:38 -05:00
keyan 68ddd0f86b sort by top posts 2021-10-21 17:05:06 -05:00
keyan 955d1aa1b2 finish up invites 2021-10-15 18:07:51 -05:00
keyan 3a52f8967a more invite work 2021-10-15 13:05:34 -05:00
keyan 18f4c9c88d create invite page 2021-10-15 12:56:54 -05:00
keyan 7107d329ba invites page 2021-10-14 16:05:37 -05:00
keyan 4935c7dc1c invite graphql + basic frontend 2021-10-12 18:49:04 -05:00
keyan edf9584391 remove ln adder alert debugging 2021-10-08 07:40:35 -07:00
keyan d3c3657a92 add alert for lightning address 2021-10-08 07:35:57 -07:00
keyan e288f88ec7 share metadata functions 2021-10-07 14:03:54 -07:00
keyan e16c056ef1 attempt description hash encoding 2021-10-07 13:36:12 -07:00
keyan 5928dcf06d make description hash match? 2021-10-07 13:14:11 -07:00
keyan 48ff38dc56 add max to lnaddr 2021-10-07 12:12:49 -07:00
keyan bef68781a7 fully specify ln addr url 2021-10-07 11:53:05 -07:00
keyan eafe474746 WIP lightning addr 2021-10-07 11:37:59 -07:00
keyan a226bac25d fix apollo ssr client imports 2021-09-30 11:05:23 -05:00
keyan ca1a95094c ssr everything 2021-09-30 10:46:58 -05:00
keyan 8c5832c3e6 add boost back to posts & fix header problem 2021-09-24 18:43:30 -05:00
keyan a339516a54 user bios mostly working 2021-09-24 16:28:21 -05:00
keyan 027ba6a048 WIP user bio 2021-09-23 17:18:48 -05:00
keyan 56a3dc9793 make bio form just a textarea 2021-09-23 15:25:38 -05:00
keyan 02c44dca63 refactor replies and full items 2021-09-23 15:09:07 -05:00
keyan e7787e3e67 WIP bios 2021-09-23 12:42:00 -05:00
keyan 0a20f2ea23 WIP tips 2021-09-10 13:55:36 -05:00
keyan 3f8b5894cb small clean up 2021-09-09 14:10:15 -05:00
keyan 968892b661 clean up console messages 2021-09-07 13:04:56 -05:00
keyan 7ffb3fd18a support webln fund and withdrawal 2021-09-07 12:52:59 -05:00
keyan 91a2061342 cache magic - use cache and network except when a result of popstate 2021-09-06 17:36:08 -05:00
keyan 0133c7acc6 open item links in new tab, nofollow links conditionally 2021-09-02 13:11:27 -05:00
keyan 18f1a9f335 center wallet balance text 2021-09-02 12:22:48 -05:00
keyan 56efbcd4fc add underline to wallet links 2021-08-22 10:31:46 -05:00
keyan 09b358397a highlight new notifications 2021-08-19 19:13:32 -05:00
keyan 79cb2d5c27 withdrawl => withdrawal/withdraw 2021-08-19 16:42:21 -05:00
keyan 0afe46c030 continued notification work 2021-08-17 18:59:22 -05:00
keyan c8df41bfa5 fix clickToContext issue for comments, fix non-inner joins, make notification query work 2021-08-17 18:07:52 -05:00
keyan f27aca546d make callback url on login great again 2021-08-12 18:48:27 -05:00
keyan 8a054d55ff provide more desc error in lnurl-auth 2021-08-12 18:46:15 -05:00
keyan 1d6e301b10 fix crashes and report which object failed in walletd 2021-08-12 16:21:56 -05:00
keyan a48cd33db3 edit posts - links and discussions 2021-08-11 15:13:10 -05:00
keyan f92b36699a fix graphql query for rss 2021-08-09 14:47:39 -05:00
João Bordalo ed961b7bdf implements rss feed 2021-07-23 16:45:09 +01:00
keyan d083845a77 auto grow textareas 2021-07-16 12:32:54 -05:00
keyan ae9b4423a4 use rand lightning animation when not logged in 2021-07-16 11:47:18 -05:00
keyan 0f6cb029c3 add plausible and proxy it 2021-07-15 15:49:13 -05:00
keyan 3fa42caa4e add wallet balance to all wallet pages 2021-07-15 11:42:02 -05:00
keyan 129a80e661 1 sat action tooltip 2021-07-08 13:42:57 -05:00
keyan 273cf144b4 ssr item for metatags 2021-07-08 12:27:52 -05:00
keyan eab1c69c7d don't delay capture 2021-07-08 10:14:31 -05:00
keyan 248f5a9967 use env for url 2021-07-07 19:45:02 -05:00
keyan 11f3654f1e don't do seo until we load items 2021-07-07 19:34:23 -05:00
keyan caafd54faa remove unused pages 2021-07-07 19:25:45 -05:00
keyan 68e80b615c working previews 2021-07-07 19:15:27 -05:00
keyan 38df1fcdb7 ssr preview info 2021-07-07 13:34:21 -05:00
keyan 605aac97ab markdown previews 2021-07-01 18:51:58 -05:00
keyan 9a15c228dc add forgetten lnurl-auth files 2021-06-26 22:18:32 -05:00
keyan 2e26e421e7 lnurl-auth 2021-06-26 22:09:39 -05:00
keyan 01922e4b88 notifications done 2021-06-24 18:56:01 -05:00
keyan f968ab7954 paginate stories 2021-06-22 12:47:49 -05:00
keyan b594e11891 a little bit of social/seo work with non-flashing skeleton 2021-06-17 13:24:35 -05:00
keyan 9f6b669e42 fix stacked and spacing on discussion text 2021-06-11 17:38:21 -05:00
keyan f535dc134c small improvements 2021-06-03 16:36:02 -04:00
keyan 17a79b2251 prepare for deployment 2021-06-02 10:23:30 -04:00
keyan 80ff13abd6 finish mvp 2021-05-24 19:08:56 -05:00
keyan a9ea341a7b create reserved usernames 2021-05-21 19:09:11 -05:00
keyan 4f627e2a5c check for usernames on typing 2021-05-21 17:32:21 -05:00
keyan 8a462252af force unique user name 2021-05-21 14:34:40 -05:00
keyan a1d842c7a3 fund error on upvote 2021-05-20 16:32:59 -05:00
keyan a68da87382 be more permissible with links and nofollow when low sats 2021-05-20 14:11:58 -05:00
keyan 0eabe1463d attempts at serializable transactions 2021-05-19 20:09:32 -05:00
keyan 157488ea5d make withdrawls mostly work 2021-05-13 16:19:51 -05:00
keyan ce55fdfe9c withdrawl page 2021-05-13 08:28:38 -05:00
keyan 7a8afd56c3 partial withdrawl 2021-05-12 20:51:37 -05:00
keyan d92fc12187 half done with wallets 2021-05-12 18:04:19 -05:00
keyan 67d1605666 transactional wallet management in plpgsql 2021-05-11 15:29:44 -05:00