session-android/libsignal/protobuf
0x330a 2466d9b4c0
[SES-1002] Synced blind requests (#1303)
* feat: update config to use blinded-msg-requests pr

* feat: add block community message requests bool to protos

* feat: add everything needed for recipientDB to have blocked community requests potentially

* feat: add db migrations

* feat: add sending community block flags and preference options

* feat: add parsing block request flag

* fix: open group message requests were broken anyway

* fix: delete all encoded open group inbox ID bs, fix privacy settings using user config as privacy store

* feat: initial creation sets flag, rename to match libsession implementation value

* fix: recipient blinded checks from open group message for blocking community requests on blinded ID version of recipient, use correct (inverted) values from before for checking polling and empty states etc

* fix: pr comments for view model factory context ref, simplified user config object check for category in PrivacySettingsPreferenceFragment

* fix: pr comments

* fix: migrate some dependencies and functionality out of VM into repository to remove content resolver and context dependecy so tests pass again

* refactor: better naming for hidesInputBar and add more tests for expected recipient view states

* fix: use contact information as opposed to active conversations

* fix: PR comments
2023-08-28 09:51:48 +10:00
..
Makefile refactor: performance improvements in batch message processing, synchronized cache access and audible message notifications. 2021-09-29 15:29:24 +10:00
README.md update protobufs 2021-01-25 11:27:05 +11:00
SignalService.proto [SES-1002] Synced blind requests (#1303) 2023-08-28 09:51:48 +10:00
Utils.proto refactor: performance improvements in batch message processing, synchronized cache access and audible message notifications. 2021-09-29 15:29:24 +10:00
WebSocketResources.proto proto updated 2021-06-09 11:03:18 +10:00

Generating Protobuf Files

Android requires protobuf 2.5.0 to auto generate the files. To generate the files just run make.

Note: Protobuf 2.5.0 will have to be aliased to protoc25.

Mac Installation Instructions

Protobuf can be installed using brew but this will only get versions > 3. To install protobuf 2.5.0 follow these steps:

wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2
tar xvf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
./configure CC=clang CXX=clang++ CXXFLAGS='-std=c++11 -stdlib=libc++ -O3 -g' LDFLAGS='-stdlib=libc++' LIBS="-lc++ -lc++abi" --disable-shared --prefix='<PATH TO A DIRECTORY>'
make -j4
make install

This will compile and build the binary at PATH TO A DIRECTORY which you specified in the ./configure command. Next you need to move it to your local bin:

cd <PATH WHERE YOU INSTALLED PROTOBUF 2.5>/bin
chmod +x ./protoc
mv ./protoc /usr/local/bin/protoc25