diff --git a/README.md b/README.md index bfa6d0c4..6ebdb943 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,18 @@ Current snapshot in *sources*: * https://github.com/redmatrix/hubzilla: 2.0.7 * https://github.com/redmatrix/hubzilla-addons: >2.0 (commit 33a9a7f971097bcf14228b626bfb127559e47830) -## Notes +## Important Notes Before installing, read the [Hubzilla installation instructions](https://github.com/redmatrix/hubzilla/blob/master/install/INSTALL.txt) for important information about -- SSL certificate validation requirement (now with support for [Let's Encrypt!](https://letsencrypt.org)) +- SSL certificate validation requirement (now with support for [Let's Encrypt!](https://letsencrypt.org)). See Installation section below. - Dedicated domain (must install under web root like **https://hub.example.com/** not **https://example.com/hub/** ) -- Required packages (all of these are not yet installed by this YunoHost installer package) +- Required packages (all of these are not yet installed by this YunoHost installer package). This YunoHost package installs the following additional packages: + - php5-cli + - php5-imagick + - php5-gd + - php5-mcrypt +- This package requires a **system-wide change to php.ini** that enables the `exec()` perimission. [See the PHP manual for more information](php.net/manual/function.exec.php). diff --git a/check_process b/check_process new file mode 100644 index 00000000..13198af2 --- /dev/null +++ b/check_process @@ -0,0 +1,24 @@ +;; Default test + auto_remove=1 + ; Manifest + domain="domain.tld" (DOMAIN) + admin="john" (USER) + email="johndoe@example.com" + upload="256M" + ; Checks + pkg_linter=1 + setup_sub_dir=0 + setup_root=1 + setup_nourl=0 + setup_private=0 + setup_public=1 + upgrade=1 + backup_restore=1 + multi_instance=0 + wrong_user=1 + wrong_path=1 + incorrect_path=1 + corrupt_source=0 + fail_download_source=0 + port_already_use=0 + final_path_already_use=0 diff --git a/conf/nginx.conf b/conf/nginx.conf index bf0d7dcb..2fdba160 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,7 +26,8 @@ location YNH_WWW_PATH { location ~ "(^|/)store" { return 403; } autoindex off; location / { - rewrite ^/\.well\-known/.* /index.php?q=$1; + # Removing the .well-known rewrite below rule seems to work... + #rewrite ^/\.well\-known/.* /index.php?q=$1; if (!-e $request_filename){ rewrite ^(.*)$ /index.php?q=$1; } diff --git a/manifest.json b/manifest.json index 39198319..5f098c32 100644 --- a/manifest.json +++ b/manifest.json @@ -45,6 +45,15 @@ }, "example": "peter@example.com", "optional": false + }, + { + "name": "upload", + "ask": { + "en": "Maximum upload size (MB)" + }, + "choices": ["64M", "128M", "256M", "512M", "1024M"], + "default": "256M", + "optional": false } ] } diff --git a/scripts/install b/scripts/install index 48451bda..c7422e97 100755 --- a/scripts/install +++ b/scripts/install @@ -6,6 +6,7 @@ domain=$1 admin=$2 email=$3 +upload=$4 app="hubzilla" path="/" @@ -78,8 +79,8 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # Modify php.ini to allow exec() function and increase the upload size limits sudo sed -i 's/,pcntl_exec//g' /etc/php5/fpm/php.ini -sudo sed -i 's/^post_max_size =.*$/post_max_size = 256M/' /etc/php5/fpm/php.ini -sudo sed -i 's/^upload_max_filesize =.*$/upload_max_filesize = 256M/' /etc/php5/fpm/php.ini +sudo sed -i 's/^post_max_size =.*$/post_max_size = $upload/' /etc/php5/fpm/php.ini +sudo sed -i 's/^upload_max_filesize =.*$/upload_max_filesize = $upload/' /etc/php5/fpm/php.ini sudo sed -i 's/^max_file_uploads =.*$/max_file_uploads = 50/' /etc/php5/fpm/php.ini # Set SSOwat rules diff --git a/scripts/upgrade b/scripts/upgrade index abd94112..c8b89e2f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -5,7 +5,6 @@ app=hubzilla domain=$(sudo yunohost app setting $app domain) path=$(sudo yunohost app setting $app path) admin=$(sudo yunohost app setting $app admin) -is_public=$(sudo yunohost app setting $app is_public) # Remove trailing "/" for next commands path=${path%/} @@ -24,10 +23,8 @@ sed -i "s@YNH_WWW_ALIAS@$final_path/@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # If app is public, add url to SSOWat conf as skipped_uris -if [ "$is_public" = "Yes" ]; -then - sudo yunohost app setting $app skipped_uris -v "/" -fi +sudo yunohost app setting $app skipped_uris -v "/" + # Restart services sudo service nginx reload diff --git a/sources/library/fullcalendar/changelog.txt b/sources/library/fullcalendar/changelog.txt index b583228f..e91ce3bd 100644 --- a/sources/library/fullcalendar/changelog.txt +++ b/sources/library/fullcalendar/changelog.txt @@ -1,9 +1,167 @@ -v2.5.0-beta (2015-11-15) ------------------------- +v3.0.1 (2016-09-26) +------------------- -internal refactor of the "grid" system, providing increased flexbility for plugins like -[fullcalendar-scheduler](https://github.com/fullcalendar/fullcalendar-scheduler/releases) +Bugfixes: +- list view rendering event times incorrectly (#3334) +- list view rendering events/days out of order (#3347) +- events with no title rendering as "undefined" +- add .fc scope to table print styles (#3343) +- "display no events" text fix for German (#3354) + + +v3.0.0 (2016-09-04) +------------------- + +Features: +- List View (#560) + - new views: `listDay`, `listWeek`, `listMonth`, `listYear`, and simply `list` + - `listDayFormat` + - `listDayAltFormat` + - `noEventsMessage` +- Clickable day/week numbers for easier navigation (#424) + - `navLinks` + - `navLinkDayClick` + - `navLinkWeekClick` +- Programmatically allow/disallow user interactions: + - `eventAllow` (#2740) + - `selectAllow` (#2511) +- Option to display week numbers in cells (#3024) + - `weekNumbersWithinDays` (set to `true` to activate) +- When week calc is ISO, default first day-of-week to Monday (#3255) +- Macedonian locale (#2739) +- Malay locale + +Breaking Changes: +- IE8 support dropped +- jQuery: minimum support raised to v2.0.0 +- MomentJS: minimum support raised to v2.9.0 +- `lang` option renamed to `locale` +- dist files have been renamed to be more consistent with MomentJS: + - `lang/` -> `locale/` + - `lang-all.js` -> `locale-all.js` +- behavior of moment methods no longer affected by ambiguousness: + - `isSame` + - `isBefore` + - `isAfter` +- View-Option-Hashes no longer supported (deprecated in 2.2.4) +- removed `weekMode` setting +- removed `axisFormat` setting +- DOM structure of month/basic-view day cell numbers changed + +Bugfixes: +- `$.fullCalendar.version` incorrect (#3292) + +Build System: +- using gulp instead of grunt (faster) +- using npm internally for dependencies instead of bower +- changed repo directory structure + + +v2.9.1 (2016-07-31) +------------------- + +- multiple definitions for businessHours (#2686) +- businessHours for single day doesn't display weekends (#2944) +- height/contentHeight can accept a function or 'parent' for dynamic value (#3271) +- fix +more popover clipped by overflow (#3232) +- fix +more popover positioned incorrectly when scrolled (#3137) +- Norwegian Nynorsk translation (#3246) +- fix isAnimating JS error (#3285) + + +v2.9.0 (2016-07-10) +------------------- + +- Setters for (almost) all options (#564). + See [docs](http://fullcalendar.io/docs/utilities/dynamic_options/) for more info. +- Travis CI improvements (#3266) + + +v2.8.0 (2016-06-19) +------------------- + +- getEventSources method (#3103, #2433) +- getEventSourceById method (#3223) +- refetchEventSources method (#3103, #1328, #254) +- removeEventSources method (#3165, #948) +- prevent flicker when refetchEvents is called (#3123, #2558) +- fix for removing event sources that share same URL (#3209) +- jQuery 3 support (#3197, #3124) +- Travis CI integration (#3218) +- EditorConfig for promoting consistent code style (#141) +- use en dash when formatting ranges (#3077) +- height:auto always shows scrollbars in month view on FF (#3202) +- new languages: + - Basque (#2992) + - Galician (#194) + - Luxembourgish (#2979) + + +v2.7.3 (2016-06-02) +------------------- + +internal enhancements that plugins can benefit from: +- EventEmitter not correctly working with stopListeningTo +- normalizeEvent hook for manipulating event data + + +v2.7.2 (2016-05-20) +------------------- + +- fixed desktops/laptops with touch support not accepting mouse events for + dayClick/dragging/resizing (#3154, #3149) +- fixed dayClick incorrectly triggered on touch scroll (#3152) +- fixed touch event dragging wrongfully beginning upon scrolling document (#3160) +- fixed minified JS still contained comments +- UI change: mouse users must hover over an event to reveal its resizers + + +v2.7.1 (2016-05-01) +------------------- + +- dayClick not firing on touch devices (#3138) +- icons for prev/next not working in MS Edge (#2852) +- fix bad languages troubles with firewalls (#3133, #3132) +- update all dev dependencies (#3145, #3010, #2901, #251) +- git-ignore npm debug logs (#3011) +- misc automated test updates (#3139, #3147) +- Google Calendar htmlLink not always defined (#2844) + + +v2.7.0 (2016-04-23) +------------------- + +touch device support (#994): + - smoother scrolling + - interactions initiated via "long press": + - event drag-n-drop + - event resize + - time-range selecting + - `longPressDelay` + + +v2.6.1 (2016-02-17) +------------------- + +- make `nowIndicator` positioning refresh on window resize + + +v2.6.0 (2016-01-07) +------------------- + +- current time indicator (#414) +- bundled with most recent version of moment (2.11.0) +- UMD wrapper around lang files now handles commonjs (#2918) +- fix bug where external event dragging would not respect eventOverlap +- fix bug where external event dropping would not render the whole-day highlight + + +v2.5.0 (2015-11-30) +------------------- + +- internal timezone refactor. fixes #2396, #2900, #2945, #2711 +- internal "grid" system refactor. improved API for plugins. v2.4.0 (2015-08-16)