Commit Graph

377 Commits

Author SHA1 Message Date
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 065cf284b3 add integer constraints 2022-08-27 10:48:59 -05:00
keyan ec2ac6e698 fix comment editing validation 2022-08-26 21:57:41 -05:00
keyan 863e717c05 fix broken comments 2022-08-26 20:27:57 -05:00
keyan 5b2cfd11cc server side validate title length 2022-08-26 18:31:51 -05:00
keyan 04d9c45156 server side validate nym 2022-08-26 17:26:42 -05:00
keyan ccb5a81dd5 add recent comments 2022-08-18 17:05:58 -05:00
keyan 388c7d0240 full powered editing 2022-08-18 13:15:24 -05:00
keyan 69d0082839 fix null boolean 2022-08-11 16:42:52 -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 5ac894baed more expensive boost + explainer 2022-07-24 11:55:22 -05:00
keyan cb313429d5 job board enhancements 2022-07-21 17:55:05 -05:00
keyan 93a19839cf add earning to top stacking users 2022-07-13 19:55:10 -05:00
keyan 9581160944 better reward notifications 2022-07-05 15:18:59 -05:00
keyan 9d3c52ed00 improve trust 2022-07-05 14:51:13 -05:00
keyan d86bf302ee make upvoted items sticker posts/comments 2022-07-01 13:38:47 -05:00
keyan 4c7a6e4998 fixes/enhancements to users dashboard 2022-07-01 13:26:34 -05:00
keyan 6dd3bd9ed3 make highly upvoted items stickier 2022-07-01 13:26:05 -05:00
keyan 86af5a46ec fix weekly stat typos 2022-06-24 13:59:02 -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 8713bf178a show dead jobs 2022-06-02 18:25:21 -05:00
keyan c061f4a6f0 limit pending invoices 2022-05-31 17:17:48 -05:00
keyan ba4644463f allow lightning address send callback to have query params 2022-05-24 16:15:51 -05:00
keyan 6a8fba14eb check invoice description hash against lnurl pay metadata 2022-05-19 09:22:25 -05:00
keyan 6cc7288e99 ignore hashtag in url dupe detection 2022-05-18 13:21:24 -05:00
keyan 4d8ff46574 better error message with 0 invoice 2022-05-18 13:13:13 -05:00
keyan f7d3f281b8 set cache control on uploads 2022-05-18 11:59:59 -05:00
keyan dea34e0b93 only check tips and votes for notifications 2022-05-18 11:43:37 -05:00
keyan 35b533c572 denormalize ranking metrics 2022-05-17 14:54:12 -05:00
keyan efa267f128 use act index in item queries 2022-05-16 17:18:11 -05:00
keyan 29fb37b763 profile photos 2022-05-16 15:51:22 -05:00
keyan 9abc41b7b2 image uploading backend 2022-05-12 13:44:21 -05:00
keyan e2409efbaf indicate to user when there are new jobs 2022-05-09 13:01:23 -05:00
keyan 222335ca5e increase boost gravity 2022-05-08 09:09:53 -05:00
keyan aa4ac2ecc9 add ln addr + lnurl pay qr code to profile pages 2022-05-06 14:34:35 -05:00
keyan 9f48daecc3 decay ranking slower 2022-05-05 12:43:58 -05:00
keyan 771978d562 sub to newsletter on sign up 2022-05-04 13:29:30 -05:00
keyan 798b055fb9 remove unecessary queries on resp critical path 2022-05-01 20:01:33 -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 b68fadc63d allow daily discussion to appear in recent 2022-04-25 12:03:21 -05:00
keyan cef122141f only one earn notification at a time 2022-04-24 11:16:51 -05:00
keyan 188230c37c add notification settings 2022-04-21 17:50:02 -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 d978ff5ea5 forward tips from posts 2022-04-19 13:32:39 -05:00
keyan 822fa9113a refactor link/dicussion to upserts and reuse more code 2022-04-18 17:10:26 -05:00
keyan 2b594109ea WIP forward 2022-04-18 15:19:07 -05:00
keyan ae916ecb97 add notFound function to SSR HOF, 404 inactive jobs 2022-04-18 11:40:08 -05:00
keyan 89fb68f746 multiple comments with the same parent are exp in cost 2022-04-17 08:13:52 -05:00
keyan a49cd8500c add nComments resolver 2022-04-15 11:51:49 -05:00
keyan 3d6a7dc286 re-simplify notifications 2022-04-13 15:48:16 -05:00
keyan c284e18278 denormalize stacked count 2022-04-04 16:54:31 -05:00
keyan becc69250e make comments faster using a lateral join 2022-04-03 12:25:39 -05:00
keyan 188a216313 speed up front page query 2022-04-02 17:39:15 -05:00
keyan d938596efe log query performance and reduce full item resolver calls 2022-03-31 13:05:11 -05:00
keyan 987a5ed3a3 notify user when invoice is paid 2022-03-23 13:54:39 -05:00
keyan 7dda1748cb hack notifications to be faster 2022-03-22 14:53:48 -05:00
keyan 7a78210cb6 improvements to earning 2022-03-18 07:29:02 -05:00
keyan 5ff856d061 earning 2022-03-17 15:13:19 -05:00
keyan 4a43a9b864 don't group by more than id in notifications 2022-03-15 11:30:11 -05:00
keyan 46f552b803 store last time user visited so we can guage retention 2022-03-14 11:43:21 -05:00
keyan 8ca33b1bb7 detect dupes between both youtube url types 2022-03-10 15:44:46 -06:00
keyan 8b1a923ac1 make boost more expensive 2022-03-09 13:44:50 -06:00
keyan a627322220 add job company and location 2022-03-07 15:50:13 -06:00
keyan 1472de0f91 sats/mo -> sats/min on jobs 2022-03-07 13:30:21 -06:00
keyan 7b0ce0c31b don't be an idiot and fetch comments when we don't need them 2022-03-04 12:05:16 -06:00
keyan 1b84f76a27 make jobs expensive, priced based ranking rather than auction 2022-03-03 12:56:02 -06:00
keyan cd3125954e make sure it's the user's job 2022-03-01 11:08:44 -06:00
keyan 50f10550b8 fix checkedNotesAt issue 2022-03-01 11:04:44 -06:00
keyan 9eced2b334 remove extra log statement 2022-02-28 17:29:20 -06:00
keyan 022c72b95b remove extra migrations, refine jobs 2022-02-28 14:09:21 -06:00
keyan 3fb7ab9cd7 fix integer overflow 2022-02-26 15:42:38 -06:00
keyan bc1c45e7bf account for job payment status 2022-02-26 10:41:30 -06:00
keyan b954186d31 jobs w/o payments yet 2022-02-24 13:05:57 -06:00
keyan 0954da18b8 prevent top item/comment gaming with WoT 2022-02-12 09:08:39 -06:00
keyan 0aee683f0f only allow one comment from a given user on the same parent 2022-02-09 13:42:13 -06:00
keyan 7d088cdd0b refine search 2022-02-03 16:29:48 -06:00
keyan e18ca2fee8 comment exact matches should rank higher than title fuzz matches 2022-02-03 16:04:20 -06:00
keyan 66d2c4f9a9 search highlighting 2022-02-03 16:01:42 -06:00
keyan 075d147f63 delay capture because font isn't loading 2022-02-03 13:41:09 -06:00
keyan 8829fccdef add top spenders to top page 2022-02-02 16:01:48 -06:00
keyan 48c72fc0c1 rank exact search matches higher 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 15cf95fa01 make notifications faster distinct -> group by 2022-02-02 16:01:48 -06:00
keyan ebb3da07d1 fix duplicate notifications to your own descendant of a descendant 2022-01-31 09:56:21 -06:00
keyan e97951dd18 notify on any descendant replies 2022-01-30 09:35:57 -06:00
keyan d0d2d4d1e3 index item path in search 2022-01-28 13:19:56 -06:00
keyan e613ea5816 check for dev env 2022-01-28 12:58:38 -06:00
keyan af2c990a51 add production search config 2022-01-28 12:37:23 -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 d413b49e24 search index functions 2022-01-25 14:57:40 -06:00
keyan 6373767ad5 remove unused gql type 2022-01-24 12:39:14 -06:00
keyan a9844f0c38 better message on failed intiation of protocol 2022-01-24 12:36:08 -06:00
keyan e37475f927 send to lightning address 2022-01-24 11:25:15 -06:00
keyan 5d49ecc536 refine tipping experience, removing notion of upvote from UX 2022-01-20 17:04:12 -06:00
keyan 6b19b10bb2 invite notifications 2022-01-19 15:02:38 -06:00
keyan 7d4324eb33 exclude users spent sats from their stacked count 2022-01-19 10:36:00 -06:00
keyan 129ec89b68 make WoT source configurable, remove logging, prevent negative ranks 2022-01-18 11:26:42 -06:00
keyan cdfe973a65 add wot page 2022-01-17 16:38:40 -06:00
keyan ccc1251f7e drop theme from users table 2022-01-14 11:42:45 -06:00
keyan 5a4c249a74 add link to yesterday's daily discussion 2022-01-13 13:05:43 -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 01ee9cdd1c don't ever reveal user wallet balances to other users 2021-12-30 16:02:18 -06:00
keyan 0dfda596b0 comment sorting 2021-12-21 15:35:25 -06:00
keyan 05301d822f better dupe protection with GET param whitelist 2021-12-20 16:26:22 -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 8cdeb18216 WIP wallet history, inv/with graphql query 2021-12-14 10:42:54 -06:00
keyan ca54abcf09 WIP wallet history 2021-12-13 14:48:19 -06:00
keyan 4d3ab603da tip walkthrough 2021-12-09 14:41:09 -06:00
keyan 1a3fdda382 new bolt 2021-12-05 11:37:55 -06:00
keyan c7ae5dc8ac ssr me and price 2021-11-28 11:29:17 -06:00
keyan 996d0a9352 click to comment goes to root thread 2021-11-27 12:01:02 -06:00
keyan 3bbf3f7470 add dark mode 2021-11-04 19:07:41 -04:00
keyan 725c05dd69 allow faq to avoid editting time limit 2021-10-30 14:59:21 -05:00
keyan 2eaf407f17 add settings page 2021-10-30 11:20:11 -05:00
keyan 0f3db83ebc make notifications slightly more concise 2021-10-28 17:22:19 -05:00
keyan c80e4d107c dupe alerts on link posts 2021-10-28 15:49:51 -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 07b9da353b smarter use of SSR and caching 2021-10-26 15:49:37 -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 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 75a8ca2163 fix notification subsorts to desc 2021-10-06 20:45:38 -07:00
keyan 782dc78652 speed hack notification query 2021-10-06 20:20:59 -07:00
keyan 5bd8025b2b speed hack hot page 2021-10-06 18:50:18 -07:00
keyan ca1a95094c ssr everything 2021-09-30 10:46:58 -05:00
keyan 00fff8a67d remove logging 2021-09-24 18:06:32 -05:00
keyan 77514575f4 fix mention notifications in root posts 2021-09-24 18:05:29 -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 e7787e3e67 WIP bios 2021-09-23 12:42:00 -05:00
keyan af2797f12a make post boost transactional 2021-09-14 12:55:59 -05:00
keyan e4c1c2f1e1 refine tipping 2021-09-12 11:55:38 -05:00
keyan 650ad03de5 move boost to post creation 2021-09-11 16:52:19 -05:00
keyan 2dd49171e2 complete tips 2021-09-10 16:13:52 -05:00
keyan 3f8b5894cb small clean up 2021-09-09 14:10:15 -05:00
keyan f23da4397f fix for overloaded pgpsql function 2021-09-09 10:46:20 -05:00
keyan 93428e3183 tips WIP 2021-09-08 16:51:23 -05:00
keyan 28d684da73 workout tips functions etc 2021-09-08 16:15:06 -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 38ba31f2b4 case insensitive names 2021-09-02 17:22:00 -05:00
keyan ce0e3dac45 auto-populate link title 2021-08-22 10:25:17 -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 81d5647cd9 remove withdrawal event listeners 2021-08-19 15:13:04 -05:00
keyan 099a578a1b protect from null mentions 2021-08-19 15:13:04 -05:00
keyan d97608a710 don't double notify when mentioned in reply to your own content 2021-08-18 18:14:18 -05:00
keyan 4b64912333 mention notifications are functional 2021-08-18 18:00:54 -05:00
keyan 3370675d61 db portion of mentions 2021-08-18 17:20:33 -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 96a18e6c9d query is working 2021-08-17 13:15:24 -05:00
keyan ed6a683b79 reject 0 amount withdrawals 2021-08-12 18:25:19 -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 b4be2c613b comment edit spagetti 2021-08-10 17:59:06 -05:00
keyan 14e929b3f0 allow retries of failed withdraw invoice while enforcing uniqueness of pending/confirmed 2021-07-10 09:16:40 -05:00
keyan 9b5f6a871d make boost decay less agro 2021-07-10 08:03:37 -05:00
keyan 55f5460116 remove test cursor time 2021-07-09 14:16:26 -05:00
keyan 676a912974 decay boost a lot more 2021-07-09 14:12:35 -05:00
keyan 68e80b615c working previews 2021-07-07 19:15:27 -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 f7b4618b4a on user profile sort create_at desc 2021-06-22 13:53:05 -05:00
keyan a77d224c09 increase stories limit 2021-06-22 13:14:08 -05:00
keyan f968ab7954 paginate stories 2021-06-22 12:47:49 -05:00
keyan 76eb1fe288 get logged in user id 2021-06-11 18:12:39 -05:00
keyan 9f6b669e42 fix stacked and spacing on discussion text 2021-06-11 17:38:21 -05:00
keyan 80c5cff3cf remove lndcert ... using unsafe tls instead 2021-06-10 19:49:20 -05:00
keyan 36bf925f2d remove cert from auth'd lnd grpc 2021-06-10 18:35:11 -05:00
keyan 54e31b6e8c add logging to tor 2021-06-10 15:54:22 -05:00
keyan 01097321f8 print metadata for insights 2021-06-10 14:28:17 -05:00
keyan e90cc1e941 print metadata for insights 2021-06-10 14:24:44 -05:00
keyan 876ac52a95 try not globally storing lnd and create fresh on include 2021-06-09 16:29:15 -05:00
keyan 10b2c85db1 log invoice creation error 2021-06-09 15:07:32 -05:00
keyan fc47d1c0e0 added eb config 2021-06-03 18:08:00 -04:00
keyan f535dc134c small improvements 2021-06-03 16:36:02 -04:00
keyan 4d161a8092 add sticky footer 2021-06-02 19:15:28 -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