Skip to content

Commit

Permalink
adjust some meta informations
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Jun 19, 2023
1 parent d4a7c2c commit 4f9e8b1
Show file tree
Hide file tree
Showing 14 changed files with 355 additions and 169 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
"./crates/core_photos/Cargo.toml"
],
"rust-analyzer.showUnlinkedFileNotification": false,
"debug.allowBreakpointsEverywhere": true
}
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [0.6.0] - 2023-03-26
## [Unreleased]
### Changed
- Rust rewrite
- License changed to AGPL
Expand Down Expand Up @@ -51,7 +51,7 @@
- async file logging


[0.6.0]: https://github.com/photos-network/core/compare/Release/v0.5.1...Release/v0.6.0
[unreleased]: https://github.com/photos-network/core/compare/Release/v0.5.1...HEAD
[0.5.1]: https://github.com/photos-network/core/compare/Release/v0.5.0...Release/v0.5.1
[0.5.0]: https://github.com/photos-network/core/compare/Release/v0.4.0...Release/v0.5.0
[0.4.0]: https://github.com/photos-network/core/compare/Release/v0.3.0...Release/v0.4.0
Expand Down
102 changes: 102 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Welcome to Photos.network <!-- omit in toc -->

This is a **FOSS** (free and open-source software) and lives from contributions of the community.

There are many ways to contribute:

* 📣 Spread the project or its apps to the world
* ✍️ Writing tutorials and blog posts
* 📝 Create or update the documentation
* 🐛 Submit bug reports
* 💡 Adding ideas and feature requests to Discussions
* 👩‍🎨 Create designs or UX flows
* 🧑‍💻 Contribute code or review PRs



## 📜 Ground Rules

A community like this should be **open**, **considerate** and **respectful**.

Behaviours that reinforce these values contribute to a positive environment, and include:

* **Being open**. Members of the community are open to collaboration, whether it's on PEPs, patches, problems, or otherwise.
* **Focusing on what is best for the community**. We're respectful of the processes set forth in the community, and we work within them.
* **Acknowledging time and effort**. We're respectful of the volunteer efforts that permeate the Python community. We're thoughtful when addressing the efforts of others, keeping in mind that often times the labor was completed simply for the good of the community.
* **Being respectful of differing viewpoints and experiences**. We're receptive to constructive comments and criticism, as the experiences and skill sets of other members contribute to the whole of our efforts.
* **Showing empathy towards other community members**. We're attentive in our communications, whether in person or online, and we're tactful when approaching differing views.
* **Being considerate**. Members of the community are considerate of their peers -- other Python users.
* **Being respectful**. We're respectful of others, their positions, their skills, their commitments, and their efforts.
* **Gracefully accepting constructive criticism**. When we disagree, we are courteous in raising our issues.
* **Using welcoming and inclusive language**. We're accepting of all who wish to take part in our activities, fostering an environment where anyone can participate and everyone can make a difference.



## 🧑‍💻 Code Contribution

To contribute code to the repository, you don't need any permissions.
First start by forking the repository, clone and checkout your clone and start coding.
When you're happy with your changes, create Atomic commits on a **new feature branch** and push it to ***your*** fork.

Atomic commits will make it easier to track down regressions. Also, it enables the ability to cherry-pick or revert a change if needed.

1. Fork it (https://github.com/photos-network/core/fork)
2. Create a new feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request



## 🐛 How to report a bug

> If you find a security vulnerability, do NOT open an issue. Email [[email protected]] instead.
1. Open the [issues tab](https://github.com/photos-network/core/issues) on github
2. Click on [New issue](https://github.com/photos-network/core/issues/new/choose)
3. Choose the bug report 🐛 template and fill out all required fields



## 💡 How to suggest a feature or enhancement

Check [open issues](https://github.com/photos-network/core/issues) for a list of proposed features.

If your suggestion can not be found already, see if it is already covered by our [Roadmap](https://github.com/photos-network/core/#roadmap).



## 📟 Communication

To get in touch with the community join our [Discord](https://img.shields.io/discord/793235453871390720) or write use on Mastodon: [@photos@mastodon.cloud](https://mastodon.cloud/@photos).



## 💾 Technology

The project is written in [Rust](https://rust-lang.org/)

Underneath it is using these frameworks:

* [tokio](https://github.com/tokio-rs/tokio) - an asynchronous runtime
* [tower](https://github.com/tower-rs/tower) - for networking
* [axum](https://github.com/tokio-rs/axum) - as web framework
* [abi_stable](https://github.com/rodrimati1992/abi_stable_crates) - FFI for dynamic library loading



## 💻 Build & Run

To build and run the core

```shell
$ cargo run
```

### 🔬 Verifications

To run tests

```shell
$ cargo test
```
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ The core is written in [Rust](https://rust-lang.org/) and highly customizably by



### Roadmap (MvP)

- Authenticate (either via openID or fediverse identity)
- Manage photos (upload, download, delete)
- Metadata (size, resolution)
- *EXIF (orientation, image taken timestamp, last modified, camera)
- *RAW (image support for RAW-images)
- *Resize (create low-resolutions / thumbnails)
- *Deep learning (image recognition, Reinforcement learning)
- *Plugin System (extract features into plugins)



### Visual Studio Code

The fastest start into development can be archived by using [Visual Studio Code](https://code.visualstudio.com/) and [Docker](https://www.docker.com/get-started).
Expand Down
20 changes: 20 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Security

We take the security of this software seriously.

If you believe you have found a security vulnerability in any of our repositories, please report it to us as described below.


## Reporting Security Issues

**Please do not report security vulnerabilities through public GitHub issues.**

Instead, send email at [[email protected]](mailto:[email protected]).
If possible, encrypt your message with our PGP key;
- **Fingerprint**: C320 7E30 54CD AA7B E197  DFF4 1B42 5A06 30A6 ABD0
- **Public key**: https://keys.openpgp.org/[email protected]


Please do not make vulnerabilities public without notifying us and giving us at least 4 weeks to respond.

If you are going to write about Photos.network’s security, please get in touch, so we can make sure that all claims are correct.
8 changes: 3 additions & 5 deletions crates/core_activity_pub/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
/* Photos.network · A privacy first photo storage and sharing service for fediverse.
* Copyright (C) 2020 Photos network developers
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/


use activitypub_federation::config::{Data, UrlVerifier};

Loading

0 comments on commit 4f9e8b1

Please sign in to comment.