Commit Graph

64 Commits

Author SHA1 Message Date
Flori b21d04647d Move contribution guidelines to CONTRIBUTING.md (#478)
Moves the contribution guidelines from README.md to CONTRIBUTING.md, as
per @striezel's suggestion.
2024-02-04 22:30:08 +01:00
bitfl0wer 7cc5bb11f9 Move contribution guidelines to CONTRIBUTING.md 2024-02-01 11:52:29 +01:00
kozabrada123 fde7f18d57 Fix example in readme for #456 (#475) 2024-01-31 22:53:13 +01:00
Dirk Stolle c5bfac66e5 Fix a few typos (#471) 2024-01-31 22:27:53 +01:00
Flori 21a59b4d8a Update README.md 2024-01-19 21:55:05 +01:00
bitfl0wer 40d7da96cd Update documentation and examples 2023-12-10 18:40:03 +01:00
bitfl0wer b607dee673 Merge branch 'dev' 2023-12-03 22:37:28 +01:00
bitfl0wer f74a8b2068 Bump version 2023-12-03 22:35:45 +01:00
Flori 266a3d1dd3 QoL Updates (#452)
- Make register and login not take an instance by ownership
- Add README information to `lib.rs`
- Add more derives to ChorusUser and Instance
- Impl From reqwest::Error for ChorusError
- Add support for .well-known #449 
- Remove "limited: bool" as an argument for `Instance::new` in favour of
dynamic instance limit checking #450
2023-12-03 22:31:21 +01:00
Flori 73772ed43e Update README.md 2023-11-25 13:26:24 +01:00
bitfl0wer 9a84e7109f Change text passages for better clarity 2023-11-24 21:37:30 +01:00
bitfl0wer ace9b57d69 Update supported compilation target for Chorus to
versions 0.12.0 and up
2023-11-22 16:14:33 +01:00
bitfl0wer 4e182c1430 Update supported platforms in README 2023-11-22 15:01:51 +01:00
bitfl0wer 93c12fff63 Add build instructions, especially for wasm 2023-11-22 14:20:45 +01:00
bitfl0wer 97e4db012a Refactor Chorus library documentation and examples 2023-11-13 22:20:57 +01:00
bitfl0wer 9224278cd5 Change Status to Alpha 2023-08-27 13:21:45 +02:00
bitfl0wer cbb24549d2 Add code coverage using coveralls and tarpaulin 2023-08-25 20:58:46 +02:00
Flori 3e9ca3f9ba Update README.md 2023-08-20 17:28:11 +02:00
Flori 1fdbe6cc00 Join/Leave Guilds, (Group) DMs and minor improvements (#157)
## Summary:

**Added:**
- Schemas `PrivateChannelCreateSchema` `ChannelInviteCreateSchema`, `AddChannelRecipientSchema` recursively (including schemas which were needed to create these schemas)
- Methods `create_private_channel`, `leave_guild`, `accept_invite`, `create_user_invite`, `create_guild_invite`, `add_channel_recipient`, `remove_channel_recipient`
- Integration tests for the functionality covered by implementing #45
- Documentation in some places where I noticed it would be useful to have some
- `create_user` method in `/src/tests`: Cuts down on test boilerplate needed to create an addition test user

**Changed:**
- `.gitignore`
  - Added `.DS_store` files to gitignore (some weird macos files), removed Cargo.lock, as Cargo.lock should be included for libraries
- Added a lot of default trait derives like Clone, Copy, PartialEq, Eq, Ord, PartialOrd to structs and enums where I saw them missing
- Added missing `teardown()` calls to the integration tests
- Renamed integration test files in `/src/tests` dir to all be plural: `channel.rs` -> `channels.rs`
- Made more fields on `User` type `Option<>`
- All instances in `/src/tests` where a second test user was created using a RegistrationSchema and the register_user method were replaced with the new `create_user` method
- README.md: Marked roadmap fields covered by #45 as implemented
- Changed visibility of `/src/tests/common/mod.rs` methods from `pub` to `pub(crate)`. In hindsight, this was probably not required, haha

**Removed:**
- Unneeded import in`src/types/config/types/guild_configuration.rs`


## Commit log:

* Add .DS_store, remove Cargo.lock

* Create PrivateChannelCreateSchema

* pub use users

* add channels.rs

* create channels.rs

* Add Deserialize/Serialize derives

* Implement create_private_channel

* Add create_dm() test

* Make optional fields on `User` `Option<>`

* Check boxes for implemented features

* Create users/guilds.rs

* Remove unneeded import

* Add UserMeta::leave_guild()

* Create api/invites/mod.rs

* Add debug print to send_request

* Rename tests files

* Create invites.rs

* create invite.rs

* Add documentation

* Implement accept_invite

* Sort fields on Channel alphabetically

* Add invite mod

* Add forgotten teardown() at test end

* change visiblities, add create_user()

* Implement `create_user_invite()`

* start working on invite tests

* Add allow flags

* Fix bad url

* Create CreateChannelInviteSchema and friends

* remove non-implemented test code

* add body to requests

* Add Clone to UserMeta

* More comprehensive error message when running into a deserialization error

* Add arguments documentation to accept_invite

* Add Eq derive to GuildFeaturesList

* Add Eq derive to Emoji

* Add Eq derive to GuildBan

* Add create_accept_invite() test

* Add Default derive to ChannelCreateSchema

* Change create_guild_invite to return GuildInvite

* Dates as chrono::Date(Utc); sort alphabetically

* Add default derives wherever possible

* Implement add_- and remove_channel_recipient

* Create AddChannelRecipientSchema

* replace otheruser regs with bundle.creeate_user()

* Add (disabled) test remove_add_person_from_to_dm()
2023-07-17 19:36:28 +02:00
Flori Weber aae478543d Simplify README 2023-06-20 00:17:52 +02:00
Flori 97cffd8d17 Update README.md 2023-06-19 23:42:56 +02:00
Flori Weber e814d617d4 Merge branch 'main' into feature/relationships 2023-06-19 16:36:52 +02:00
Flori 42f669dde9 Update badges 2023-06-19 16:28:43 +02:00
Flori Weber d9edf49081 Mark Friend Requests and Blocking as completed 2023-06-18 23:24:10 +02:00
Flori f14a38a85e Update README.md 2023-06-17 23:26:57 +02:00
Flori 4e5165d9ff Update README.md 2023-06-11 13:05:45 +02:00
Flori Weber d6ffe62b51 Mark Permission management as finished 2023-06-11 12:31:46 +02:00
bitfl0wer aff744d960 Mark 2 objects as complete 2023-06-10 22:27:46 +02:00
Flori Weber 65a73ec85b Mark role management as completed 2023-06-10 19:17:35 +02:00
bitfl0wer 495ea30a65 Re-order README, link issues 2023-06-04 19:49:04 +02:00
Flori 9282c89096 Update README.md 2023-06-04 19:33:46 +02:00
Flori dcc83d7622 Update README.md 2023-06-04 19:31:39 +02:00
Flori e6ed4257da Update README.md 2023-06-04 14:48:39 +02:00
Flori 7f6762a825 Update README.md 2023-06-01 19:16:25 +02:00
Flori 3a6d1c5620 Update README.md 2023-05-29 19:20:41 +02:00
Flori 2a61a4db7e Update README.md 2023-05-29 19:05:26 +02:00
Flori 2e81f5c4e1 Update README.md 2023-05-28 22:29:24 +02:00
bitfl0wer 74b5f988c9 Flesh out the Roadmap 2023-05-27 15:25:41 +02:00
Flori 77b624e894 Update README.md 2023-05-25 18:33:17 +02:00
Flori 3d37373f98 Update README.md 2023-05-13 19:20:49 +02:00
Flori 45c2fc601d Merge pull request #38 from polyphony-chat/feature/sending-messages
Feature/sending messages
2023-05-12 19:21:09 +02:00
bitfl0wer b2e7c52eb8 Mark Sending messages as done 2023-05-12 19:20:03 +02:00
Flori 3c7b057315 Update README.md 2023-05-12 15:53:16 +02:00
Flori 08b4cc0abd Update README.md 2023-04-30 20:07:24 +02:00
Flori ae97a52631 Update README.md 2023-04-29 10:51:39 +02:00
Flori f736922805 Update README.md 2023-04-26 11:19:04 +02:00
Flori b269574670 Update README.md 2023-04-23 20:34:40 +02:00
Flori 54e5087b56 Update README.md 2023-04-23 20:16:39 +02:00
Flori a5d1fe6db4 Update README.md 2023-04-23 14:05:44 +02:00
bitfl0wer 5991bf66e5 Update readme 2023-04-23 11:06:43 +02:00