Commit Graph

60 Commits

Author SHA1 Message Date
Ken-Håvard Lieng e0200a2b2a Name all storage interface params, return slices of pointers 2018-06-01 04:16:38 +02:00
Ken-Håvard Lieng 24f9553aa5 Persist, renew and delete sessions, refactor storage package, move reusable packages to pkg 2018-05-31 23:24:59 +02:00
Ken-Håvard Lieng 0648b67cb8 Use random session IDs instead of jwt 2018-04-26 21:32:21 +02:00
Ken-Håvard Lieng 18aff3ded6 Show last IRC connection error in status tab, log IRC connection errors 2017-07-02 03:31:00 +02:00
Ken-Håvard Lieng b639ba6846 Support changing the server name by clicking it in the status tab 2017-06-12 06:31:27 +02:00
Ken-Håvard Lieng 4ee035766b Fix ChannelStore regression 2017-05-12 09:49:57 +02:00
Ken-Håvard Lieng 71177254b4 Prioritize user modes properly serverside 2017-05-10 05:44:59 +02:00
Ken-Håvard Lieng 45c61e7596 Add message scrollback 2017-05-02 23:21:25 +02:00
Ken-Håvard Lieng 2525b06c28 Use firebase push IDs for messages 2017-04-20 05:32:22 +02:00
Ken-Håvard Lieng eedc687f18 Send the 25 last messages for each channel to the client on load 2017-04-20 01:51:55 +02:00
Ken-Håvard Lieng c840d51e16 Call gencode with unsafe flag 2017-04-19 02:07:31 +02:00
Ken-Håvard Lieng 971278e7e5 Upgrade server dependencies, manage them with govendor 2017-04-18 03:02:51 +02:00
Ken-Håvard Lieng 326161a563 Check if server exists in storage.User.SetNick() 2017-04-13 02:22:18 +02:00
Ken-Håvard Lieng 0a6d8bfb20 Remove FindUserChannels test 2017-04-11 04:46:17 +02:00
Ken-Håvard Lieng 18651c1a10 Fix race condition with NICK and QUIT when multiple dispatch users are in the same channel 2017-04-11 03:49:52 +02:00
Ken-Håvard Lieng 7c7821f829 Clean up ChannelStore 2017-02-21 21:38:48 +01:00
Ken-Håvard Lieng 9f055da1a0 Keep op/voice prefix when changing nick 2017-02-21 13:56:04 +01:00
Ken-Håvard Lieng 8dfcf47281 Fix nick changes with op/voice 2017-02-19 22:26:48 +01:00
Ken-Håvard Lieng cd317761c5 Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
Ken-Håvard Lieng 22d8b8b363 Embed servers, channels and users in index.html 2016-01-26 22:10:44 +01:00
Ken-Håvard Lieng 26ce1cae93 Use a fuzzy match query to search messages 2016-01-22 19:07:47 +01:00
Ken-Håvard Lieng 54a7472371 Use gencode on disk 2016-01-22 18:30:47 +01:00
Ken-Håvard Lieng a3a934fff2 Prevent duplicate users in ChannelStore 2016-01-22 04:45:41 +01:00
Ken-Håvard Lieng e856b66f97 Remove empty anonymous sessions after a certain time period 2016-01-19 22:02:12 +01:00
Ken-Håvard Lieng 82e2343d5b Add SOCKET_SEARCH action constant 2016-01-18 03:21:58 +01:00
Ken-Håvard Lieng be67cb3977 Use pointer receiver in user schema 2016-01-17 23:47:43 +01:00
Ken-Håvard Lieng 76f99c8332 Use MessagePack on disk 2016-01-17 23:33:52 +01:00
Ken-Håvard Lieng 1def24500a Test message logging 2016-01-17 21:15:29 +01:00
Ken-Håvard Lieng fb54d4966c Store auth info in a JWT token in a cookie 2016-01-15 02:27:30 +01:00
Ken-Håvard Lieng 796bbd834e Add verify_client_certificates to the config 2016-01-14 06:17:53 +01:00
Ken-Håvard Lieng 13a3d96b44 Improve port handling 2016-01-14 05:56:53 +01:00
Ken-Håvard Lieng 81500cc89e Synchronize user.certificate access 2016-01-12 00:32:40 +01:00
Ken-Håvard Lieng 937560e859 Add support for client certificates 2016-01-11 21:04:57 +01:00
Ken-Håvard Lieng 137cf3224d Add user storage test 2016-01-07 23:59:38 +01:00
Ken-Håvard Lieng f00c6154a4 Remove unused variable appDir 2016-01-04 19:33:28 +01:00
Ken-Håvard Lieng b55cb13e44 Let's Encrypt 2016-01-04 19:26:32 +01:00
Ken-Håvard Lieng 12d6cdd4c8 Fix FindUserChannels test 2015-12-29 11:32:10 +01:00
Ken-Håvard Lieng e389454535 Switch to redux and webpack 2015-12-29 00:34:32 +01:00
Ken-Håvard Lieng eeb45e17c2 Name it 2015-12-11 04:35:48 +01:00
Ken-Håvard Lieng f6a1f793fb Test ChannelStore 2015-06-11 06:27:48 +02:00
Ken-Håvard Lieng c6c740e24b Make storage.User synchronous, call session.setWS earlier 2015-06-07 06:16:16 +02:00
Ken-Håvard Lieng 284a35ab09 Add dockerfile, add data directory flag 2015-05-29 01:59:08 +02:00
Ken-Håvard Lieng 61aa5880d3 Add config file, handle it with Viper, add a command to open it in an editor 2015-05-25 04:00:21 +02:00
Ken-Håvard Lieng 6a25c1d6a5 Add GetLastMessages, log messages to nested buckets 2015-05-21 09:15:57 +02:00
Ken-Håvard Lieng cb4b5e4f6f Allow websocket connections from all origins 2015-05-11 05:13:35 +02:00
khlieng 7aae7685c5 Add early search prototype on the client, add leave button 2015-05-11 03:39:34 +02:00
khlieng 79095154ca Add clear command and get rid of the development flag 2015-05-02 01:02:21 +02:00
khlieng e63c012aad Add cobra, move the server code into its own package 2015-05-01 22:59:46 +02:00
khlieng 3365832ce3 Add message logging and search server side 2015-04-29 23:54:44 +02:00
khlieng 6378131a9d Rewrite vendored imports in subpackages, get rid of assetfs and implement filesystem on top of bindata that supports -debug, update build instructions 2015-04-27 00:45:49 +02:00