Skip to main content

fabrixxm / friendica-projects

Project repository for Friendica
- friendica-projects /
ACL moved from include to src and a core class
by tobiasd 1 year ago 6def0b3884
docs Add pull requests 4 years ago
js syntax higlighting, better url for files, line numbers with link in blob view 4 years ago
lang update of the DE translations 4 years ago
octicons Add icons and clone origin link 4 years ago
src Fix templates to work better with Frio theme 2 years ago
styles Add lock icon to private repos. Remove links to fork and pr. 1 year ago
templates Fix diff display with binary files 1 year ago
.gitignore update composer, .gitignore 4 years ago
README.md composer install not update it is 4 years ago
composer.json Initial refactor of git operations in generic VCS class 4 years ago
composer.lock syntax higlighting, better url for files, line numbers with link in blob view 4 years ago
composer.phar update composer, .gitignore 4 years ago
config.php.dist Move configs to config.php.dist 4 years ago
projects.php ACL moved from include to src and a core class 1 year ago

Projects

This is an experimental plugin for Friendica wich adds a git repository web interface

What works

  • create a repository via web interface, with a name, description and standard Friendica ACL
  • optionally post a status message on repository creation
  • comments to a repository via standard friendica comment system
  • browse repository tree
  • push and pull of the repo via standard git smarthhtp
  • git pull respecting ACL, git push only for repo owner
  • fork a conctact's repo in personal project space, also from remote server (public repos only)
  • display files in browser with code hilight where supported
  • download binary files
  • create a pull requests from a clone (public repos only)
  • comment to pull requests directly from your network page
  • merge/close pull requests

What could works some day

  • federated issue tracking
  • comment to issues directly from your network page
  • close issues directly from.. ok you get it
  • clone and pull requests for private repositories

How to install

Clone the repo and install required libraries

cd /your/friendica/addon/
git clone https://kirgroup.com/projects/fabrixxm/friendica-projects.git projects
cd projects
./composer.phar install

Copy config.php.dist as config.php and set the path where the repos are saved. Must be writeable by the webserver

How to update

After pulling the changes from the repository, remember to update the
dependencies by running composer.

cd /your/friendica/addon/projects
git pull
./composer.phar install