Skip to main content

fabrixxm / friendica-projects

Project repository for Friendica
- friendica-projects /
Add nofilter to commit message
by fabrixxm 2 months ago b8c9040701
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 x() is no more, used !empty() instead 2 months ago
styles More standard bootstrap in UI 5 months ago
templates Add nofilter to commit message 2 months 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
config.php.dist Move configs to config.php.dist 4 years ago
projects.php x() is no more, used !empty() instead 2 months 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