Skip to main content

How to add automatic nightly builds to your Nextcloud app

2 min read

For two years Portknox has been hosting the nightly builds for several Nextcloud apps. As we have to move to a newer server, I'll take the chance to document the nightly creation process. So, if you want to add nightly builds to your app here is a full automated and low-maintenance process. In case you need help or a place to save the builds just send us an email. We are happy to help!

.travis.yml

 env:
     global:
        - NIGHTLY=FALSE
script:
- if [[ "$NIGHTLY" = "TRUE" ]]; then curl --ftp-create-dirs -T /home/travis/build/nextcloud/core/apps/contacts/build/artifacts/appstore/calendar.tar.gz -u $FTP_LOGIN:$FTP_PW ftp://upload.portknox.de/htdocs/calendar/nextcloud_calendar_nightly_build_$(date +%Y-%m-%d).tar.gz; fi

Cron Job on the nightly server:

build_calendar_nightly.sh

#!/bin/sh
DATA="/home/ftp/calendar" 
ARCHIVE="$DATA/archive" 

# create structure
mkdir -p $ARCHIVE

# move directories in the current directory older than 14 days to archive
find $DATA -maxdepth 1 -type d -mtime +14 -exec mv {} $ARCHIVE \;

# delete data in archive
find $ARCHIVE -type d -mtime +90 -exec rm -rf {} \;

# Prepare curl request
body='{ "request": { "message": "Nightly build", "branch":"master", "config": { "env": { "matrix": ["DB=sqlite CORE_BRANCH=master TEST_JS=FALSE PHP_COVERAGE=FALSE PACKAGE=TRUE NIGHTLY=TRUE"] }, "php": ["7"], "matrix": { "fast_finish": false } } }}'
# Trigger nightly build curl -s -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "Travis-API-Version: 3" \ -H "Authorization: token <Insert token>" \ -d "$body" \ https://api.travis-ci.org/repo/nextcloud%2Fcalendar/requests


Here are the related pull requests for Calendar and Contacts.

Portknox Update May - Collabora Server Update

1 min read

Update: There is a note for existing users below (gray screen problem).

We have just set live our updated Collabora server, all users who have booked the Collabora Online Addon can benefit from many new features. Here is a list of some, you can find many more in the linked blog posts from Collabora below:

Writer:

  • Interactive horizontal ruler
  • Insert header and footer
  • Implemented Chart creation:

Calc:

  • Outlining and row/column grouping
  • Column filters, AutoFilter
  • Support for chart data series editing
  • Data Validation in Calc
  • Support for hidden tabs in Calc:

Impress:

  • Document repair from Writer is now available here as well
  • Ability to reply to comments

Installed Version on Portknox.net:

To get a full overview about the Collabora Update read this postthis post and this.

Note for existing users:

If the Collabora screen does not open and you see just a gray window, please go the Collabora Settings and just safe the form again, this resets the cache.

Learn about Portknox.net

Portknox Update March

1 min read

Nextcloud 13 is here (in fact 13.0.1)

Early this month we finished migration of all Portknox clouds to Nextcloud 13 and with it nearly all apps have got an update. As you can see in our applist, Portknox now offers 41 supported apps.

Nextcloud Talk

One of the biggest enhancements is Nextcloud Talk which adds video & audio-conferencing to Nextcloud.

 Nextcloud Talk at Starzel.de

Please note that you will need a TURN server to communicate with users behind routers or firewalls. We offer an addon which is easy to setup.

End-to-end Encryption

Nextcloud 13 also adds a feature for client side encryption as a tech preview. We will test and follow the progress closely. Right now we don't ship this app to our customers, but it looks as if we will soon.

Whats next at Portknox?

Right now we are migrating clouds to our improved infrastructure. As every Portknox cloud is self-contained and isolated this needs to be done from time to time. We have done this in past, too.

Get your Nextcloud free for 14 days

If you want to test your own up2date Nextcloud you can now try Portknox.net for 14 days. 

Learn about Portknox.net

Nextcloud 13 release party - Stuttgart

1 min read

Part of the Nextcloud team will celebrate the release of Nextcloud 13. We’re organizing a meetup with some talks and hacking!

Let’s meet Tuesday, February 13, 7:00 PM at Nextcloud GmbH / Struktur AG, Kronenstr. 22a, Stuttgart (Just ring at Nextcloud/Struktur AG). If you are on Meetup.com you can RSVP.

We will have a short intro to Nextcloud and what’s new for version 13. How upgrades work, and if there is interest how Portknox.net updates.

And since Nextcloud is open source, after that we’ll show you how to contribute. So please bring your laptop! :)

Whether you are a designer or developer, come join in and make the open web better! Everyone is welcome! Bring your friends and spread the word.

Portknox Update Januar

1 min read

Preparing for Nextcloud 13

Nextcloud 13 is just some days away with great new features. At Portknox we are already working on the upgrade.

Nextcloud update 12.0.5

We have already updated Nextcloud to version 12.0.5 (changelog) which is a requirement for our upgrade to Nextcloud 13. Furthermore these apps have been updated:

  • Calender to v1.5.0
  • Notes to v2.3.2
  • Richdocuments to v1.12.40
  • Deck to v0.3.0
  • Mail to v0.7.9

Get your Nextcloud free for 14 days

If you want to test your own up2date Nextcloud you can now try Portknox.net for 14 days. 

Learn about Portknox.net

 

Portknox Update Oktober

2 min read

QOwnNotesAPI added

One of the most requested addons is the advanced API for QOwnNotes. As soon as you enable the API in your Portknox cloud, you are able to use versioning and access to your trashed notes. Here is a screenshot of the QOwnNotes desktop app (it works on all plattforms):

On mobile devices you can use CloudNotes (iOS) or Notes (Android).

Contacts update to 2.0.1

The 2.0 relase brings impressive performance to the Contacts app. The inital loading is really fast now, furthermore contacts are only loaded if needed, which makes the app even more speedy. 

It is also now possible to sort by names (can be found in the settings):

There are many more improvements, check out the release notes.

Calendar update to 1.5.6

This minor update fixes bugs with timezones, UI and the sharing. Here is the full changelog.

Deck update to 1.2.4

Another minor update with UI and bug fixes.

Nextcloud update 12.0.3

All clouds will get the update to the most recent maintenance release.

Please note that we update customer clouds in batches, if your cloud does not have the new apps yet, give us some more days :)

Always up2date applist

At our applist you can see which app in which version is installed on Portknox. We have now automated the way our applist is generated, after every Nextcloud or app update the list gets regenerated. Right now it's possible to activate 43 apps!

Learn about Portknox.net

Nextcloud Mail v0.7 released – local attachment support and moving mails

1 min read

Another Nextcloud Conf, another Mail release :) Its already in the Nextcloud Appstore! Time to update.

Its now possible to move mails into folders:

Moving mails

Here is the 0.7 changelog:

Added

  • Helper view for keyboard shortcuts #91 @Gomez
  • Generic moving of messages (drag and drop)
  • Account menu labels
  • Support for a automatically generated default account
  • Better loading/error/retry views
  • Local attachment support
  • Shortcut c to compose a new message

Changed

  • php5.6 to php 7.1 are supported
  • No longer stack Aw, Wg, Fwd
  • App store now lists the app in 'Social & Communication'
  • Improved message synchronization

Fixed

  • Use IDBConnection instead of removed IDb
  • Missing files in release package
  • Loading messages with undisclosed recipients
  • Problems with UTF8 encoding
  • Account color dot on Safari
  • Database column width for long passwords
  • Error when adding a new account
  • Undefined index warning
  • Do not show 'noSelect' folders
  • Selected account when composing a reply
  • Remove noreferrer from HTML messages
  • Some issues with drafts

Whoever wants to join the Mail app team is welcome, and the best is: you don’t have to be a developer. We need people for translating, testing etc. Don’t hesitate to contact us on IRC or jump in and clone the repository.

Portknox Update Mai

1 min read

Collabora Online with Portknox.net clouds

Collabora Online is a powerful LibreOffice-based online office suite with collaborative editing. Within the next few days you will be able to order Collabora Online in our online shop.

 if you want to learn more about Collabora Online check out this video:

Nextcloud 12

We have already started working on the upgrade to Nextcloud 12, soon all new customers will get this latest version installed. As always all existing customers will be updated to Nextcloud 12, we plan to finish the upgrade process within June.

If you want to stay updated with news from Portknox.net, subscribe to our RSS feed or follow us on TwitterFacebook / Google.

Learn about Portknox.net

Portknox Update April

1 min read

Nextcloud update v11.0.3

Within the next few days all Portknox clouds are updated to Nextcloud 11.0.3. Read about the changes here.

Calendar update v1.5.2

This are the most important fixes:

  • advanced color-picker #4
  • support for Internet Explorer 11 #329
  • added second step for deleting calendars #341

As usual we use Canary Deployments and first update only a few clouds, we will increase the number within the next days. 

Our applist is already updated, you can see all changed app versions there.

Learn about Portknox.net

Portknox Update March

2 min read

 Two Factor U2F added

Portknox u2f auth

Its now possible to activate Two Factor Authentication with U2F devices like the Yubikey. Another way to further secure you cloud. Please read documentation before app activation.

Tasks updated to 0.9.5

This minor update fixes some bugs with Nextcloud 11. Here is the full changelog.

Two Factor TOTP updated to 1.1.0

Polishing and some minor fixes. Here is the full changelog.

Please note that we update customer clouds in batches, if your cloud does not have the new apps yet, give us some more days :)

Nextcloud update 11.0.2

We are happy that all customer clouds have been updated to Nextcloud 11. At Portknox every single customer has his or her own installation (with own domain / url) which is much safer than only having an account in a big shared instance (which is what most of the other providers do). Even if keeping all of the clouds up-to-date takes more effort - it's worth it! The Nextcloud security scan rates Portknox clouds with A+, the highest score achievable:

 

Always up2date applist

At our applist you can see which app in which version is installed on Portknox. We now automated the way our applist is generated, after every Nextcloud or app update the list gets regenerated. Right now its possible to activate 36 apps!

Learn about Portknox.net