Git Product home page Git Product logo

externalportal's Introduction

External Portal

A Nextcloud Dashboard widget providing a view of the current user's external sites. This app uses directly the sites provided by External sites' ( https://apps.nextcloud.com/apps/external ) API, which is thus required for meaningful usage of this app. This app is not affiliated with the External sites app. Implementing the corresponding functionality in the External sites app would have also been a possibility - however, due to the very limited interoperability required, a separate app was chosen as a lighter solution.

Place this app in nextcloud/apps/

Building the app

The app can be built by using the provided Makefile by running:

make

This requires the following things to be present:

  • make
  • which
  • tar: for building the archive
  • curl: used if phpunit and composer are not installed to fetch them from the web
  • npm: for building and testing everything JS, only required if a package.json is placed inside the js/ folder

The make command will install or update Composer dependencies if a composer.json is present and also npm run build if a package.json is present in the js/ folder. The npm build script should use local paths for build systems and package managers, so people that simply want to build the app won't need to install npm libraries globally, e.g.:

package.json:

"scripts": {
    "test": "node node_modules/gulp-cli/bin/gulp.js karma",
    "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update",
    "build": "node node_modules/gulp-cli/bin/gulp.js"
}

Publish to App Store

First get an account for the App Store then run:

make && make appstore

The archive is located in build/artifacts/appstore and can then be uploaded to the App Store.

Running tests

You can use the provided Makefile to run all tests by using:

make test

This will run the PHP unit and integration tests and if a package.json is present in the js/ folder will execute npm run test

Of course you can also install PHPUnit and use the configurations directly:

phpunit -c phpunit.xml

or:

phpunit -c phpunit.integration.xml

for integration tests

externalportal's People

Contributors

mazhoon avatar thecalcaholic avatar

Stargazers

Kemal avatar Ludovic Vimont avatar  avatar Jason Rouet avatar Chris avatar

Watchers

Jouni Korhonen avatar Juha Erkkilä avatar Antti Sokero avatar  avatar  avatar  avatar

externalportal's Issues

decrease .ico image size

First, let me say I really like this idea! It's a mice addition to the home page.

I know you're in the early stages but if you could maybe reduce the size of the icons, or better yet, make them adjustable, it would really help. When the icons get enlarged they get pixelated and look bad. A perfect solution would be if the external site addon would allows icons bigger than 32x32 icons but in the interim just adjusting them would be a big improvement.
Thanks!

Add support for Nextcloud 29

Currently the app supports up to Nextcloud 27.
Please add support for Nextcloud 29.

edit: Nextcloud 29 release, request adjusted.

Missing localization

Currently only English is present, it would be nice to have see translation in Transifex.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.