Родитель
91b0e40e47
Коммит
e3132cc6e9
15
.travis.yml
15
.travis.yml
|
@ -1,26 +1,33 @@
|
|||
sudo: required
|
||||
sudo: false
|
||||
dist: trusty
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
|
||||
env:
|
||||
global:
|
||||
- CORE_BRANCH=stable12
|
||||
- APP_NAME=polls
|
||||
matrix:
|
||||
- DB=mysql
|
||||
- DB=sqlite
|
||||
- DB=pgsql
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
|
||||
before_install:
|
||||
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
|
||||
- bash ./before_install.sh polls $CORE_BRANCH $DB
|
||||
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
|
||||
- cd ../server
|
||||
- ./occ app:enable polls
|
||||
- ./occ app:enable $APP_NAME
|
||||
|
||||
before_script:
|
||||
- cd apps/polls
|
||||
- cd apps/$APP_NAME
|
||||
|
||||
script:
|
||||
- make test
|
||||
|
|
27
CHANGELOG.md
27
CHANGELOG.md
|
@ -2,7 +2,19 @@
|
|||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 0.7.3
|
||||
## [0.8.0] - 2017-10-13
|
||||
|
||||
### Changed
|
||||
- Big UI overhaul
|
||||
- Removed oC branding from email strings
|
||||
- Removed unnecessary files
|
||||
- A lot of code rework
|
||||
|
||||
### Fixed
|
||||
- Fix date display in IE and Safari (NaN)
|
||||
- Translations
|
||||
|
||||
## [0.7.3] - 2017-07-16
|
||||
|
||||
### Added
|
||||
- French translations
|
||||
|
@ -12,7 +24,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Removed some deprecated methods
|
||||
- Hide usernames in extended anonymous polls
|
||||
|
||||
## 0.7.2
|
||||
## [0.7.2] - 2016-10-27
|
||||
|
||||
### Added
|
||||
- Search for users / groups in "Select..." access type (similar to sharing dialog) (thanks @scroom)
|
||||
|
@ -26,7 +38,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Current selected access type is now clickable
|
||||
- Remove unused share manager
|
||||
|
||||
## 0.7.1
|
||||
## [0.7.1] - 2016-06-05
|
||||
|
||||
### Added
|
||||
- New UI (thanks @mcorteel)
|
||||
|
@ -38,7 +50,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Link to poll
|
||||
- Only display users / groups the user is member of (except admin) (thanks @bodo1987)
|
||||
|
||||
## 0.7.0
|
||||
## [0.7.0] - 2016-03-18
|
||||
|
||||
### Added
|
||||
- Show user avatars
|
||||
|
@ -46,6 +58,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Show login screen before error
|
||||
|
||||
### Fixed
|
||||
|
||||
- Not set expire would lead to 2.1.1970 as expire date
|
||||
- Invalid characters in url hash
|
||||
- Empty description in edit
|
||||
|
@ -53,21 +66,23 @@ All notable changes to this project will be documented in this file.
|
|||
- Notification checkbox fixes
|
||||
- Blank page fixes on empty votes
|
||||
|
||||
## 0.6.9.1
|
||||
## [0.6.9.1] - 2016-02-21
|
||||
|
||||
### Fixed
|
||||
- Replaced placeholder images
|
||||
- Minor fixes, including external votes
|
||||
|
||||
## 0.6.9
|
||||
## [0.6.9] - 2016-02-20
|
||||
|
||||
### Added
|
||||
- Edit polls
|
||||
|
||||
### Changed
|
||||
|
||||
- New minimal version set to 8.1
|
||||
|
||||
### Fixed
|
||||
|
||||
- Replaced deprecated methods
|
||||
- Switched from raw php to controller
|
||||
- Fixed several bugs
|
||||
|
|
|
@ -0,0 +1,79 @@
|
|||
### Steps to reproduce
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
### Expected behaviour
|
||||
Tell us what should happen
|
||||
|
||||
### Actual behaviour
|
||||
Tell us what happens instead
|
||||
|
||||
### Server configuration
|
||||
<!--
|
||||
You can use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
|
||||
-->
|
||||
|
||||
**Operating system**:
|
||||
|
||||
**Web server:**
|
||||
|
||||
**Database:**
|
||||
|
||||
**PHP version:**
|
||||
|
||||
**Nextcloud version:** (see Nextcloud admin page)
|
||||
|
||||
**Where did you install Nextcloud from:**
|
||||
|
||||
**Signing status:**
|
||||
|
||||
```
|
||||
Login as admin user into your Nextcloud and access
|
||||
http://example.com/index.php/settings/integrity/failed
|
||||
paste the results here.
|
||||
```
|
||||
|
||||
**List of activated apps:**
|
||||
|
||||
```
|
||||
If you have access to your command line run e.g.:
|
||||
sudo -u www-data php occ app:list
|
||||
from within your Nextcloud installation folder
|
||||
```
|
||||
|
||||
**Nextcloud configuration:**
|
||||
|
||||
```
|
||||
If you have access to your command line run e.g.:
|
||||
sudo -u www-data php occ config:list system
|
||||
from within your Nextcloud installation folder
|
||||
|
||||
or
|
||||
|
||||
Insert your config.php content here
|
||||
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
|
||||
```
|
||||
|
||||
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
|
||||
|
||||
### Client configuration
|
||||
**Browser:**
|
||||
|
||||
**Operating system:**
|
||||
|
||||
### Logs
|
||||
|
||||
#### Nextcloud log (data/nextcloud.log)
|
||||
```
|
||||
Insert your Nextcloud log here
|
||||
```
|
||||
|
||||
#### Browser log
|
||||
```
|
||||
Insert your browser log here, this could for example include:
|
||||
|
||||
a) The javascript console log
|
||||
b) The network log
|
||||
c) ...
|
||||
```
|
43
README.md
43
README.md
|
@ -6,32 +6,26 @@ This is a poll app, similar to doodle or dudle, for Nextcloud / ownCloud written
|
|||
It is a rework of the already existing [polls app](https://github.com/raduvatav/polls) written by @raduvatav.
|
||||
|
||||
### Features
|
||||
|
||||
- :bar_chart: Create / edit polls (datetimes _and_ texts)
|
||||
- :date: Set expiration date
|
||||
- :lock: Restrict access (only logged in users, certain groups / users, hidden and public)
|
||||
- :speech_balloon: Comments
|
||||
|
||||
### Bugs
|
||||
|
||||
- https://github.com/nextcloud/polls/issues
|
||||
|
||||
### Screenshots
|
||||
|
||||
![Overview](https://github.com/nextcloud/polls/blob/master/screenshots/overview.png)
|
||||
![Vote](https://github.com/nextcloud/polls/blob/master/screenshots/vote.png)
|
||||
![New poll](https://github.com/nextcloud/polls/blob/master/screenshots/new-poll.png)
|
||||
|
||||
## Installation / Update
|
||||
|
||||
This app is supposed to work on Nextcloud version 11+ or ownCloud version 8+.
|
||||
|
||||
### Install latest release
|
||||
|
||||
You can download and install the latest release from the [Nextcloud app store](https://apps.nextcloud.com/apps/polls).
|
||||
|
||||
### Install from git
|
||||
|
||||
If you want to run the latest development version from git source, you need to clone the repo to your apps folder:
|
||||
|
||||
```
|
||||
|
@ -39,45 +33,8 @@ git clone https://github.com/nextcloud/polls.git
|
|||
```
|
||||
|
||||
## Contribution Guidelines
|
||||
|
||||
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance
|
||||
to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together
|
||||
we can strengthen and support each other.
|
||||
|
||||
For more information please review the [guidelines for contributing](https://github.com/nextcloud/server/blob/master/CONTRIBUTING.md) to this repository.
|
||||
|
||||
### Apply a license
|
||||
|
||||
All contributions to this repository are considered to be licensed under
|
||||
the GNU AGPLv3 or any later version.
|
||||
|
||||
Contributors to the Polls app retain their copyright. Therefore we recommend
|
||||
to add following line to the header of a file, if you changed it substantially:
|
||||
|
||||
```
|
||||
@copyright Copyright (c) <year>, <your name> (<your email address>)
|
||||
```
|
||||
|
||||
For further information on how to add or update the license header correctly please have a look at [our licensing HowTo][applyalicense].
|
||||
|
||||
### Sign your work
|
||||
|
||||
We use the Developer Certificate of Origin (DCO) as a additional safeguard
|
||||
for the Nextcloud project. This is a well established and widely used
|
||||
mechanism to assure contributors have confirmed their right to license
|
||||
their contribution under the project's license.
|
||||
Please read [developer-certificate-of-origin][dcofile].
|
||||
If you can certify it, then just add a line to every git commit message:
|
||||
|
||||
````
|
||||
Signed-off-by: Random J Developer <random@developer.example.org>
|
||||
````
|
||||
|
||||
Use your real name (sorry, no pseudonyms or anonymous contributions).
|
||||
If you set your `user.name` and `user.email` git configs, you can sign your
|
||||
commit automatically with `git commit -s`. You can also use git [aliases](https://git-scm.com/book/tr/v2/Git-Basics-Git-Aliases)
|
||||
like `git config --global alias.ci 'commit -s'`. Now you can commit with
|
||||
`git ci` and the commit will be signed.
|
||||
|
||||
[dcofile]: https://github.com/nextcloud/server/blob/master/contribute/developer-certificate-of-origin
|
||||
[applyalicense]: https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md
|
||||
|
|
Загрузка…
Ссылка в новой задаче