aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_websocket.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-09-231-6/+40
|\
| * Use CXX11_OVERRIDE instead of the override keyword.Gravatar Sadie Powell2021-09-221-1/+1
| |
| * Replace <websocket:sendastext> with <websocket:defaultmode>.Gravatar Sadie Powell2021-09-221-6/+35
| |
| * Add an API for checking if I/O hooks are ready or not.Gravatar Sadie Powell2021-09-221-0/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-191-13/+48
|\|
| * Implement support for websocket subprotocols.Gravatar Sadie Powell2021-08-171-2/+23
| | | | | | | | This is based on the current IRCv3 draft but using a vendored protocol.
| * Minor clean up of the previous commit.Gravatar Sadie Powell2021-08-171-2/+1
| |
| * Improve WebSocket header parsing.Gravatar Sadie Powell2021-08-171-12/+26
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-2/+8
|\|
| * Send 400 Bad Request if a WebSocket client doesn't send an origin.Gravatar Sadie Powell2021-05-071-0/+5
| |
| * Only vendor the bits of utfcpp that we actually use.Gravatar Sadie Powell2021-05-051-2/+3
| |
* | Refactor the Base64 encoding and decoding functions.Gravatar Sadie Powell2021-05-101-1/+1
| |
* | Migrate IOHookProvider from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2021-04-091-4/+4
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-12/+12
| |
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
| |
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
| |
* | Merge tag 'v3.8.1' into master.Gravatar Sadie Powell2020-11-201-1/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-11-201-1/+1
| |
| * Fail websocket connections if changing the user's IP errors.Gravatar Sadie Powell2020-11-201-0/+4
| |
* | Move config typedefs to ServerConfig and use auto in more places.Gravatar Sadie Powell2020-11-031-1/+1
| |
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-1/+1
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
| |
* | Add stdalgo::iterator_range and switch config tag reading to use it.Gravatar Sadie Powell2020-10-311-4/+2
| | | | | | | | | | This allows us to use range-based for loops which were not possible with the previous config tag system.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+3
| |
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-4/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+3
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-12-081-16/+61
|\|
| * Fixing MatchCIDR call when checking proxy rangeGravatar iwalkalone2019-12-061-2/+2
| |
| * WebSocket: move the OriginList typedef inside WebSocketConfig.Gravatar Peter Powell2019-11-291-3/+2
| |
| * WebSocket: replace the behindproxy switch with a proxy IP list.Gravatar Peter Powell2019-11-291-7/+19
| |
| * Implement support for websocket connections via a proxy like nginx.Gravatar Peter Powell2019-11-281-0/+27
| |
| * Move WebSocket config to its own class.Gravatar Peter Powell2019-11-281-14/+21
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-8/+8
|/
* WebSocket: send messages as text by default.Gravatar Peter Powell2018-11-031-4/+27
| | | | | | This requires all messages to be UTF-8. If you are using a UTF-8 incompatible text encoding then you can disable this by setting <websocket:sendastext> to false.
* WebSocket: use one WebSocket message per IRC message.Gravatar Peter Powell2018-10-311-8/+42
| | | | | This makes more sense for WebSocket clients than CR+LF termination as the protocol already understands the concept of messages.
* Require WebSocket origins to be whitelisted in order to connect.Gravatar Peter Powell2018-10-101-2/+50
| | | | Fixes #1281.
* Unite SSL service providers and SSL profile classesGravatar Attila Molnar2017-11-131-2/+2
|
* Clean up OnCleanup.Gravatar Peter Powell2017-10-181-2/+2
| | | | | | | | | - Switch to using ExtensionItem::ExtensibleType for the type instead of TargetTypeFlags. - Pass the extensible to OnCleanup as an Extensible pointer instead of a void pointer. - Call OnCleanup for memberships as well as channels and users. - Rewrite event documentation to remove outdated references.
* Add WebSocket moduleGravatar Attila Molnar2016-08-081-0/+405