Commit graph

112 commits

Author SHA1 Message Date
Thomas Mathews
08aeec6783 web: Updated contribution guide. 2022-11-12 12:54:24 -08:00
William Casarin
1a1a38ddf2 web: update style guide
we use tabs not spaces
2022-11-12 12:45:58 -08:00
William Casarin
2e568e4b44 web: focus reply box when replying 2022-11-12 12:38:09 -08:00
William Casarin
64db658eab readme: request-pull instructions 2022-11-12 11:37:32 -08:00
William Casarin
c3b4ac0d5b Merge remote-tracking branch 'thomas/main'
web: removed non-working event buttons
Deleted js/index.js
Removed .DS_Store
web: Refactor UI code
web: retab & avoid race condition on main js entry
web: reconstructed project
2022-11-12 11:14:54 -08:00
William Casarin
20a18ab95a web: remove pk querystring when logging out 2022-11-12 10:41:42 -08:00
Thomas Mathews
0ec857b554 web: removed non-working event buttons 2022-11-12 10:40:59 -08:00
William Casarin
897d837bf2 web: allow pubkey override via ?pk=.... 2022-11-12 10:37:19 -08:00
William Casarin
d63c15c8e8 web: max height on inline media content 2022-11-12 10:15:04 -08:00
William Casarin
66a688d950 web: rename DSTATE to DAMUS
why not
2022-11-12 09:54:00 -08:00
William Casarin
7ca2247919 web: refactor some cruft, fix error 2022-11-12 09:48:34 -08:00
Thomas Mathews
eac631f7f4 Deleted js/index.js 2022-11-12 09:48:25 -08:00
Thomas Mathews
5f8f041c34 Removed .DS_Store 2022-11-12 09:46:54 -08:00
Thomas Mathews
6eb67bc3af web: Refactor UI code
* Created directory for UI
 * Moved rendering code to js/ui/render.js
 * Created initial js/ui/util.js for UI utilities

Notice I did not use modules. I was thinking of doing this but I am
avoiding it for now as it is much easier to just have everything
declared as global at this time. For onclick methods this makes sense;
but for code (such as rendering) I think it would be better off as a
module that gets imported. This is a task for another day.
2022-11-12 09:41:54 -08:00
Thomas Mathews
8bec3e126c web: retab & avoid race condition on main js entry 2022-11-12 09:04:43 -08:00
Thomas Mathews
353eb0872f web: reconstructed project
* Added initial README.md
 * Removed old Make command for webv2
 * Created js, css folders and moved files accordingly
2022-11-12 08:43:23 -08:00
William Casarin
81d62fd25a web: remove some unused buttons 2022-11-11 19:07:26 -08:00
William Casarin
418619bf0f web: stop images from screwing up mobile 2022-11-11 18:53:30 -08:00
William Casarin
62579db3a3 web: add logout button 2022-11-11 18:21:05 -08:00
William Casarin
ffbd5efe65 web: fix rendering of deleted comments 2022-11-11 18:14:52 -08:00
William Casarin
472681ae58 web: dont render bottom event border with replies 2022-11-11 18:03:10 -08:00
William Casarin
350771a75f add license 2022-11-11 17:41:38 -08:00
William Casarin
44b7b3ddae web: disable post button if there is nothing to post 2022-11-11 17:34:09 -08:00
William Casarin
01b8348dde web: bigger input box on mobile 2022-11-11 17:24:48 -08:00
William Casarin
ca193ae4c6 web: make profile pictures smaller on mobile 2022-11-11 17:22:10 -08:00
William Casarin
642170679e web: make nav padding smaller on mobile 2022-11-11 17:19:28 -08:00
William Casarin
ddecd2ac36 web: fix scrolling 2022-11-11 17:08:30 -08:00
William Casarin
6085605743 web: more mobile-friendly 2022-11-11 17:02:04 -08:00
William Casarin
ccc08fa1bc fix post deletion 2022-11-11 16:40:28 -08:00
William Casarin
fb543919a7 fix up reaction groups and liking stuff 2022-11-11 16:35:48 -08:00
Thomas Mathews
c35f841089 Updated styling to look like twitter. 2022-11-11 16:11:31 -08:00
William Casarin
572122b581 web: ignore all duplicate events 2022-11-11 13:12:44 -08:00
William Casarin
206a658249 update readme to remove webv2 2022-11-11 12:45:41 -08:00
William Casarin
be580e0234 web: wrap profile parsing with try/catch
dont let nerds crash our app
2022-11-11 12:43:55 -08:00
William Casarin
c0f612e2d3 web: always use the latest profile 2022-11-11 12:36:24 -08:00
William Casarin
347c6617fe web: fix url regex 2022-11-11 12:18:52 -08:00
William Casarin
4dc1292361 web: move webv2 to web 2022-11-11 12:10:39 -08:00
William Casarin
f6c3fc3ff9 web: make mobile view better 2022-11-11 12:07:43 -08:00
William Casarin
e4b3162713 web: allow creation of posts with content warnings 2022-11-11 11:28:59 -08:00
William Casarin
17d4f9e468 web: support content warnings 2022-11-11 11:15:15 -08:00
William Casarin
917fa90398 web: support deletion reasons
When deleting an event, it will now prompt you to type a reason. You can
leave it blank. If you don't, a deletion reason will appear on the
deleted event.
2022-11-09 12:50:50 -08:00
William Casarin
a024cc558d web: don't render deleted events when we don't need to 2022-11-09 12:26:14 -08:00
William Casarin
2ab552f5f8 render event deletion 2022-11-09 12:19:44 -08:00
William Casarin
0a78307336 web: support event and reaction deletion 2022-11-09 11:53:22 -08:00
William Casarin
991b66515e web: rounded image corners 2022-11-04 17:28:10 -07:00
William Casarin
a6dcec4c1d web: hacky boost workaround 2022-11-04 17:08:56 -07:00
William Casarin
7fa2c99c9e web: render reposts 2022-11-04 16:56:23 -07:00
William Casarin
5104042bcd add todo 2022-11-04 16:24:26 -07:00
William Casarin
111d87814b remove verbose log 2022-11-04 15:49:21 -07:00
William Casarin
5f4445aaec web: show chatroom names in chatroom replies 2022-11-04 15:48:02 -07:00