Commit Graph

270 Commits

Author SHA1 Message Date
Jeremy Zhang
f4176e65e1 Merge userbookkeeping file with utils 2017-09-13 22:01:07 +00:00
Jeremy Zhang
cedceabe2e Check user permissions when accepting a post request for administrating guilds 2017-09-13 21:51:32 +00:00
Jeremy Zhang
1a6a8b3727 Remove pythonanywhere specific ip handling 2017-09-13 21:48:31 +00:00
Jeremy Zhang
c23b71d050 Implement server webhook icons as cosmetics & fixes 2017-09-13 05:55:51 +00:00
Jeremy Zhang
d9edf7e8ef Remove urls temporarily during markdown parsing so that markdown would not interfere 2017-09-13 03:56:10 +00:00
Jeremy Zhang
2e4781d499 Add terms and privacy legal documents 2017-09-12 04:06:29 +00:00
Jeremy Zhang
8a7e3322b9 Remove global header when the bot is not connected to the database 2017-09-11 20:33:20 +00:00
Jeremy Zhang
9ef8ef7c90 Add previous title to maffie 2017-09-11 19:46:14 +00:00
Jeremy Zhang
dad92d1e53 Add reasons to admin token transactions 2017-09-11 10:14:07 +00:00
Jeremy Zhang
247133229c Implement purchasing option for custom css 2017-09-11 09:00:42 +00:00
Jeremy Zhang
10b5deffe4 Add custom css slots to prepare for donators feature 2017-09-11 07:52:13 +00:00
Jeremy Zhang
214bbfa162 Escape CSS Variables 2017-09-11 01:26:26 +00:00
Jeremy Zhang
1fe4943cf2 Add CSS Variables to Discord Dark 2017-09-11 01:11:32 +00:00
Jeremy Zhang
888ec81cc2 Cloud9 automatically start postgres and redis 2017-09-10 22:37:31 +00:00
Jeremy Zhang
25cd964403 Initial support for channel categories 2017-09-09 21:46:00 +00:00
Jeremy Zhang
1dad3f1d3a Permission variable typo, sorry 2017-09-09 15:21:25 +00:00
Jeremy Zhang
83982d0105 If administrator, it should be allowed to create webhooks 2017-09-09 15:16:29 +00:00
Jeremy Zhang
1fac087b6d Use the api endpoint to only clean the keyvalue store for now. the messages should be handled by the external bot script 2017-09-09 05:01:02 +00:00
Jeremy Zhang
207e13b639 Cast user_id to string during comparison to fix guest posting 2017-09-09 02:30:23 +00:00
Jeremy Zhang
ded1a48ef1 Add alt text to discord emojis so that it is copypasteable 2017-09-08 22:17:57 +00:00
Jeremy Zhang
4121d647df Cast message and channel ids to bigint for comparison 2017-09-08 20:44:26 +00:00
Jeremy Zhang
b345b2ab6f Fix for css variables being None 2017-09-08 00:37:37 +00:00
Jeremy Zhang
4a204fb264 Implement CSS variables to the default theme as of now 2017-09-08 00:14:10 +00:00
Jeremy Zhang
a293b89b8c CSS Variables fix 2017-09-07 23:35:34 +00:00
Jeremy Zhang
3c83641a55 Update alembic for cssvars 2017-09-07 21:47:58 +00:00
Jeremy "EndenDragon" Zhang
56e7b3e9d2 Merge branch 'cssvars' into master 2017-09-07 14:41:30 -07:00
Jeremy "EndenDragon" Zhang
600627d2e2 Allow the bot to work with not having Administrator permissions (#47) 2017-09-06 17:59:22 -07:00
Jeremy Zhang
21400679b6 Empty server manage server list should not automatically log you out, oauth fix 2017-09-06 20:59:05 +00:00
Jeremy Zhang
2f552ca87f Strip timezone and microsecond for admin guild member list 2017-09-06 18:56:52 +00:00
Jeremy Zhang
7badfea64f Twemoji parsing 2017-09-06 07:11:32 +00:00
Jeremy Zhang
315173924c Render global emotes 2017-09-06 06:42:17 +00:00
Jeremy Zhang
84d3a7ad84 Remove escape blackslash for angle brackets before displaying message 2017-09-06 06:34:51 +00:00
Jeremy Zhang
9e49ba558a Fix administrate guild page crashing due to microseconds in user timestamps 2017-09-06 05:34:14 +00:00
Jeremy Zhang
5ecedfd7fc Add LGBTQ+ Lounge to the partners list 2017-09-05 18:47:15 +00:00
Jeremy Zhang
31b8f66abe Typo, this can be none at times 2017-09-05 07:45:57 +00:00
Jeremy Zhang
f5f3423e36 Strip timezone information completely for comparing 2017-09-05 07:29:36 +00:00
Jeremy "EndenDragon" Zhang
aa9075f484 Inital postgresql implementation (#46) 2017-09-04 23:54:54 -07:00
omnicons
3a503c9bcb Add an image for Selina 2017-09-04 06:50:25 -04:00
omnicons
8f1749add7 Add Selina to about page 2017-09-04 06:48:25 -04:00
Jeremy Zhang
85d49e4024 Reinstate token links 2017-09-04 04:12:08 +00:00
Jeremy Zhang
0a6943bdbe Fix duplicate typo for example url in query param card 2017-09-04 03:40:42 +00:00
Jeremy Zhang
3c2e1ee686 Fix misalignment of the cool people list for good 2017-09-02 20:49:54 +00:00
Jori van Ee
4aee785b97 Update everybot partner to include the bot invite link 2017-09-02 20:34:04 +00:00
Jeremy "EndenDragon" Zhang
6a426618d6 Merge branch 'master' into websockets 2017-09-02 12:25:11 -07:00
Jeremy Zhang
3e2c9b2fb6 Add username field to embed_user_connect, whoops 2017-09-02 15:19:23 +00:00
Jeremy Zhang
2c7c466bb9 Better websockets reconnect logic 2017-09-02 04:06:15 +00:00
Jeremy Zhang
7464cdc748 Edit google analytics tracking code 2017-09-02 01:03:25 +00:00
Jeremy Zhang
c1f208d74e Attempt to fix the height sizing of the modal overlay 2017-09-01 19:24:23 +00:00
Jeremy Zhang
93cc797aac Hide visitor mode login message on really small embed widths 2017-09-01 19:19:13 +00:00
Jeremy Zhang
610d46936c Message box new line on shiftenter, enter submits without newline, Resolves #44 2017-09-01 07:30:40 +00:00
Jeremy Zhang
871c8fc22f New .com domain! 2017-09-01 04:45:35 +00:00
Jeremy Zhang
71462ba628 Lets actually include everyone in teh about page, okay? 2017-09-01 04:41:10 +00:00
Jeremy Zhang
9e494f3808 Prefill username field for guests with query param, Resolves #43 2017-08-30 18:48:26 +00:00
Jeremy Zhang
12936455b0 Experiment, lower messaging post rate to 5 secs 2017-08-27 21:51:08 +00:00
Jeremy Zhang
2226693739 Remove force focus 2017-08-27 21:51:08 +00:00
Jeremy Zhang
907bb510eb Cleanup card panels 2017-08-27 21:51:08 +00:00
Jeremy Zhang
654dd3faf3 Automatic webhook creation and deletion, Resolves #42 2017-08-27 21:50:41 +00:00
Jeremy Zhang
8038a1b4fc Handle guild name and image updates realtime 2017-08-27 08:04:50 +00:00
Jeremy Zhang
441a0814ae Emit update current user info only on when current user has been updated 2017-08-27 07:55:08 +00:00
Jeremy Zhang
718fafe0a0 Add redis to requirements and test for uwsgi to monkeypatch 2017-08-27 02:22:03 +00:00
Jeremy Zhang
8b6645306a Update user chip if a user has been updated 2017-08-25 23:19:13 +00:00
Jeremy Zhang
ac956106e9 Guest Username Change better websocket support 2017-08-25 07:45:59 +00:00
Jeremy Zhang
e3f57500ff Realtime updating channel list 2017-08-25 06:37:14 +00:00
Jeremy Zhang
d1225e5273 Realtime emoji and discord member sidebar fix 2017-08-22 07:53:41 +00:00
Jeremy Zhang
0539efb204 WS Realtime for message actions and Sidebar members list presence update 2017-08-22 07:01:40 +00:00
Jeremy Zhang
a0a0f01655 Fix member hex colors with leading zeros 2017-08-22 02:52:54 +00:00
Jeremy Zhang
4ed2d14bc3 Basic websockets authentication handling 2017-08-21 04:26:51 +00:00
Jeremy Zhang
72649f069e Basic message relaying via WS 2017-08-20 19:56:54 +00:00
JustMaffie
c8d35ff265 Update about page 2017-08-20 09:56:00 +02:00
Jeremy Zhang
e094a8b0e7 Add streamers connected as a partner 2017-08-20 04:49:42 +00:00
Jeremy Zhang
9a2c7a6261 Add Ping and Salars Emote List server as a partner 2017-08-19 20:12:57 +00:00
Jeremy Zhang
1be0177562 Named the socketio endpoint to gateway 2017-08-19 07:30:19 +00:00
Jeremy Zhang
6b3ada44db Basic websocket test on connect 2017-08-19 05:09:13 +00:00
Jeremy Zhang
e5cdde73b0 Initial socketio initialization 2017-08-19 03:52:32 +00:00
Jeremy Zhang
fb8cfe3abc Converted webapp portion to python 3.5. Resolves #32 2017-08-19 00:33:50 +00:00
Jeremy Zhang
15011078c8 Add a server count to the server admin page 2017-08-16 19:48:59 +00:00
Jeremy Zhang
8d76423a82 Hide Token links and reinstate patreon links for now 2017-08-14 06:31:23 +00:00
Jeremy Zhang
fc05f3dda2 Token count in menu 2017-08-14 05:43:25 +00:00
Jeremy "EndenDragon" Zhang
0d87e11e3e Add paypalrestsdk to requirements.txt 2017-08-13 18:11:17 -07:00
Jeremy "EndenDragon" Zhang
8bc95f7b0e Paypal (#41)
* Implement Titan Tokens clientside

* Titan Tokens can be modified in the admin panel
2017-08-13 18:10:03 -07:00
Jeremy Zhang
d363b66799 Added a patreon banner link to the index and dashboard 2017-08-13 11:19:43 +00:00
Jeremy "EndenDragon" Zhang
c832e69483 Implemented Server Emoji Picker (#40) 2017-08-13 03:14:03 -07:00
Jeremy Zhang
e44ab58aa8 After changing the username, it should just refetch 2017-08-10 22:01:23 +00:00
Jeremy Zhang
a165722856 Guest username changing support 2017-08-10 21:27:08 +00:00
Jeremy Zhang
68d8882d3e Fix mentions with nicknames 2017-08-10 02:56:45 +00:00
Jeremy Zhang
77bde8f258 Better nickname support
- Username field will not be overwritten with the nickname.
- Mentions work again!
- User chip will show nickname instead of username if present
- Authenticated embed users sidebar nickname support
2017-08-10 02:05:05 +00:00
Jeremy Zhang
98d13e9feb We cant forget the secret way to make italics with underscores 2017-08-10 01:11:18 +00:00
Jeremy Zhang
8f56bea4cc Resolves #37, basic Discord markdown parsing
Adds support for bold, italics, underline, strikethrough, code, and blockcode (no Syntax highlighting yet)
2017-08-10 01:00:14 +00:00
Jeremy Zhang
b3d5a7e171 Escape user css in the dashboard. Should fix if brackets show up in the css code 2017-08-09 06:58:28 +00:00
Jeremy Zhang
26c0e7444f Fixes #30, member list hoisting, hopefully. 2017-08-09 04:40:12 +00:00
Jeremy Zhang
0ece2b56e7 Set default fallback if defaultchannel query parameter is locked for the user 2017-08-09 02:07:13 +00:00
Jeremy Zhang
08a90c8a51 Handle 404 fetch if the channel id doesnt exist 2017-08-09 01:31:20 +00:00
Jeremy Zhang
146b2311cf Support for dynamic default channel 2017-08-09 01:26:11 +00:00
Jeremy Zhang
335d9f569e Overriding builtin themes with user defined css. Users should take advantage of the url query parmeters to choose which theme to override at load. Closes #36. 2017-08-08 03:14:17 +00:00
Jeremy Zhang
1b8da1a5c1 Set sidenavs max width to leave room if embed width is too small. Closes #35 2017-08-08 02:31:42 +00:00
Jeremy Zhang
a1ec940372 Typo, close paragraph tag for everybot card 2017-08-07 03:55:33 +00:00
Jeremy Zhang
8d707a7e15 Nickname support for the user sidebar 2017-08-07 03:08:26 +00:00
JustMaffie
ed327a4ad1 Add everybot to about page partners section 2017-08-07 02:36:36 +00:00
Jeremy Zhang
162baec3c0 Refocus message box after posting message 2017-08-05 21:41:19 +00:00
Jeremy Zhang
8fbe8e95d9 Add webhook guest msg note to the commands card 2017-08-05 18:06:05 +00:00