Commit Graph

305 Commits

Author SHA1 Message Date
Georg Ehrke c89b88df53
parse parameters in HashService 2016-12-21 21:54:42 +01:00
Georg Ehrke de7b48dd3d
refactor hashservice 2016-12-21 15:31:26 +01:00
Georg Ehrke 7e8ab67818
save 301 responses from webcal subscriptions 2016-12-21 12:27:54 +01:00
Georg Ehrke d9c89e70ce
use bools for settings 2016-12-20 12:52:27 +01:00
Georg Ehrke 9da0217c3d
defaultView -> initialView 2016-12-20 12:52:26 +01:00
Georg Ehrke 5ede495a18
use proper constants 2016-12-20 12:52:21 +01:00
Georg Ehrke 89fb38395d
fix sending the RSVP parameter for attendees 2016-12-13 01:12:58 +01:00
Georg Ehrke 54a4ddfcc1
abolish randomstringservice 2016-12-10 23:31:57 +01:00
Thomas Citharel 49264296ce Merge pull request #217 from nextcloud/enhancement/noid/hash_service
Enhancement/noid/hash service
2016-12-10 12:37:51 +01:00
Georg Ehrke 91c762d256 Merge pull request #179 from nextcloud/bugfix/50
fixing event title in grid changing back when editing twice
2016-12-10 12:30:39 +01:00
Georg Ehrke 632c84d559
add HashService 2016-12-10 12:28:13 +01:00
Georg Ehrke 941cd219c8
fixing event title in grid changing back when editing twice 2016-12-09 22:58:33 +01:00
Georg Ehrke f826aa1eaf
require sharingAPI to create new shares 2016-12-06 22:33:24 +01:00
Georg Ehrke 3179f201d6
move some calendarService calls into Calendar and subscription model 2016-12-01 13:31:29 +01:00
Georg Ehrke 0684364b55 Merge pull request #185 from nextcloud/bugfix/19/open_settings_on_first_run
Show import button on first run
2016-11-22 18:45:47 +01:00
Georg Ehrke a1275c3dad
show email address only when multiple ones are set on contact 2016-11-22 13:45:08 +01:00
Felix Heidecke dcc75f334d
Sanitize malformed dates (#764)
* add ics date-sanatising

* Adding mysql packages ...

.... the new trusty containers seem to require this ...
2016-11-17 21:11:52 +01:00
Georg Ehrke bd7623f317
add detection for first run 2016-11-15 17:56:43 +01:00
Georg Ehrke 16ce022af7
implement first run logic in client 2016-11-15 17:56:25 +01:00
Georg Ehrke 0296b83841
add server-side first run logic 2016-11-15 13:57:41 +01:00
Georg Ehrke 71fccb6e50 Merge pull request #174 from nextcloud/bugfix/145/fix_first_event_in_range_for_repeating_events_check
fix expanding of repeating events on fdow
2016-11-14 10:28:45 +01:00
Georg Ehrke d94ff58de9
catch more GuzzleHttp exceptions 2016-11-13 15:35:08 +01:00
Georg Ehrke 4db9e9d235
fix expanding of repeating events on fdow 2016-11-11 14:01:00 +01:00
Georg Ehrke 927f41220c
cleanup calendarservice mess 2016-11-07 18:58:02 +01:00
Georg Ehrke b24b590c4c Merge pull request #150 from nextcloud/fix_global_timezones
make it possible to create events in UTC
2016-10-24 00:12:19 +02:00
Georg Ehrke fe5afcd646
make it possible to create events in UTC 2016-10-22 11:40:51 +02:00
Georg Ehrke dd240e8996
fix dropping between grid and allday 2016-10-20 22:23:38 +02:00
Georg Ehrke 4a6cd853aa Merge pull request #98 from nextcloud/refactor_eventobjects
refactor events object
2016-10-14 14:13:46 +02:00
Georg Ehrke c71558a137
refactor event objects 2016-10-12 18:57:03 +02:00
Thomas Citharel 2856e87cbe add opengraph support & clean unused routes 2016-10-12 12:42:02 +02:00
Thomas Citharel cfcf5e2d3a fix tests 2016-10-12 12:42:02 +02:00
Thomas Citharel b3ecdd9c70 fix tests 2016-10-12 12:42:02 +02:00
Thomas Citharel fdc1b03f6c fix tests & add basic tests for mailer 2016-10-12 12:41:58 +02:00
Thomas Citharel 2c5688af71 bring public test 2016-10-12 12:41:57 +02:00
Thomas Citharel 562020f328 Start work to publish a calendar
more interface changes

Working interface

Put correct URL

ask for urls

updates for server changes

Finish publish feature

Clean things up

Rebase branch after CalendarModel refactor

Small property fix

try go public

work

Make everything work

Remove un-necessary call

Fix rebase issue and don't show ourselves inside the sharees

Clean things up, show both CalDAV & Web Interface URLs and remove unused code in public controller

Fix undefined bug by moving to service

put back empty emailAddress as it's needed

Move CalDAV address to public view, make necessary changes for iframes, add file download on public view and integration code

remove unused sandbox

clean rebase

Use original controllers

Additionnal checks for pre-publish-url

Simplify public page calendar properties acquisition & add a publishable status for a calendar

fix day/week/month buttons not accessible in public mode

Don't show notification if we are on the public page

rebased

add basic tests

Even more tests (publish & unpublish)

And a filename typo

change share icons behaviour consistent with File app

fix for urls finishing with #

use es6 endsWith function

fix double slash issue in urls
2016-10-12 12:41:57 +02:00
Georg Ehrke d5f87fb966 Update viewcontrollerTest.php 2016-10-04 19:38:42 +02:00
Georg Ehrke 5fc4ba22d6
rename tests/unit to tests/php 2016-10-04 17:47:49 +02:00
Georg Ehrke 2dfa90e186
remove legacy config/test files 2016-10-04 17:41:12 +02:00
Georg Ehrke 2c4b420da8
refactor timezone service 2016-09-28 20:58:16 +02:00
Raghu Nayyar 4f1beb352a Change email id 2016-09-26 15:25:48 +02:00
Georg Ehrke 85b2a64156 Merge pull request #76 from nextcloud/refactor_veventservice
refactor veventservice
2016-09-24 16:19:51 +02:00
Georg Ehrke be2237efc2
This is Nextcloud! ICalFactory edition 2016-09-24 15:09:14 +02:00
Georg Ehrke 7149306bb0
veventservice tests 2016-09-24 14:40:06 +02:00
Georg Ehrke d0f9ce9a9d
add tests for davClient service 2016-09-21 16:02:58 +02:00
Georg Ehrke e736e761ae
add nextcloud namespace to XMLUtility 2016-09-20 22:47:04 +02:00
Georg Ehrke 692d12d553
add workaround to fix webcal creation under Nextcloud9 2016-09-19 12:29:32 +02:00
Georg Ehrke 02c07c9e03
remove remind because we are working with a remote stream 2016-09-15 16:38:26 +02:00
Georg Ehrke 7c866b1fa0
fix js unit tests 2016-09-15 15:32:06 +02:00
Georg Ehrke 0309277f70
add unit test for Guzzle exception 2016-09-15 12:51:16 +02:00
Georg Ehrke 47bba762fa
fixes for some tests, still failing 2016-09-14 18:42:50 +02:00
Georg Ehrke 69a6b10ac0
php unit tests 2016-09-14 18:42:50 +02:00
Georg Ehrke 3971854c3f
implement WebCal support 2016-09-14 18:42:49 +02:00
Georg Ehrke e211d0bab3
make default calendar color change with theming app 2016-09-12 16:41:01 +02:00
Georg Ehrke 5dc706c6a4
fix js test names 2016-09-12 16:10:17 +02:00
Georg Ehrke 52dc58845f
make config key in js camel case: showWeekNr 2016-09-12 16:07:53 +02:00
Georg Ehrke 3f3e7587f6
add js unit tests 2016-09-12 16:06:11 +02:00
Georg Ehrke aa57462b82
make configname and config key consistent 2016-09-12 16:00:38 +02:00
Peter Nowee 1913bdd6a6
Adapt stub method getUserValue to week number setting
This commit adapts the stub method for `getUserValue()` in the PHPUnit
test for viewcontroller to expect another call to retrieve the
`currentShowWeekNr` setting.
2016-09-09 13:37:58 +02:00
Peter Nowee 8cfba37b8a
Add settings checkbox for showing week numbers
This adds a checkbox under Settings to "Show week numbers". The setting
is saved as Calendar-app user setting `currentShowWeekNr`.
2016-09-09 13:37:17 +02:00
Georg Ehrke d671d8d277
use ColorUtility in colorpicker directive 2016-09-01 09:31:30 +02:00
Georg Ehrke 28ebaf309c Delete .directory 2016-08-19 19:47:17 +02:00
Georg Ehrke 667a861045 Bugsbane master (#710)
* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

The documentation link still point to OC docs, as there's no real platform neutral place to point people to.

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Remove specific reference to ownCloud

* Make cloud references platform neutral

* Remove temporary -swp files

* Add suggestions from @Mar1u5

As per his suggestions in:
https://github.com/owncloud/calendar/pull/699#discussion-diff-74709329
https://github.com/owncloud/calendar/pull/699#discussion-diff-74709350

* Add suggestions from @Mar1u5

As per:
https://github.com/owncloud/calendar/pull/699#discussion-diff-74709387
https://github.com/owncloud/calendar/pull/699#discussion-diff-74709400
https://github.com/owncloud/calendar/pull/699#discussion-diff-74709417

* Added Mar1u5's last suggestion

At https://github.com/owncloud/calendar/pull/699#discussion-diff-74709362

* "server installation" > "instance installation"

As per https://github.com/owncloud/calendar/pull/699#discussion_r74913034

* "installation folder">"instance's installation folder"

As per https://github.com/owncloud/calendar/pull/699#discussion-diff-75082204
2016-08-17 22:16:24 +02:00
Georg Ehrke 9cbfcab750
add version and calscale to icalfactory 2016-08-17 11:21:10 +02:00
Georg Ehrke c4ee5b33b0
make it possible to skip popover 2016-08-16 15:13:43 +02:00
Raghu Nayyar e6eaadd5cd Merge pull request #622 from owncloud/more_service_tests
test autocompletion and settingsservice
2016-08-14 16:59:37 +05:30
Raghu Nayyar 480deddbfb Merge pull request #648 from owncloud/splitterService_to_ICalSplitterUtility
move splitterService to ICalSplitterUtility
2016-08-14 16:58:51 +05:30
Georg Ehrke b76384409d
move splitterService to ICalSplitterUtility 2016-08-13 21:50:54 +02:00
Georg Ehrke cc18a56426
test autocompletion and settingsservice 2016-08-13 17:10:44 +02:00
Georg Ehrke 5ee86afc03
make it possible to add prefix and suffix for StringUtility.uid 2016-08-13 16:53:19 +02:00
Georg Ehrke 0c3e9c62d7
get rid of ng-route 2016-08-10 14:46:28 +02:00
Thomas Citharel f8b7ed5151
add not existing config test 2016-07-29 14:07:11 +02:00
Thomas Citharel 23204bff49
fix tests 2016-07-29 12:10:54 +02:00
Georg Ehrke 7a5b7d060d
remove unused condition 2016-07-27 15:30:44 +02:00
Georg Ehrke 5ca32a4511
move colorUtiltiyService to colorUtility 2016-07-27 15:19:36 +02:00
Georg Ehrke 44d510409e
return root and inner most child of sceleton 2016-07-26 07:26:50 +02:00
Georg Ehrke 2dbde2da31
add XMLUtility 2016-07-24 16:09:27 +02:00
Georg Ehrke fd1c659707 Merge pull request #619 from owncloud/string_utility
add StringUtility
2016-07-24 16:08:42 +02:00
Georg Ehrke 5858088007
add StringUtility 2016-07-13 11:12:49 +02:00
Georg Ehrke 369e4105b6
remove asset pipeline error page for ownCloud 9.1+ 2016-07-11 20:12:05 +02:00
Georg Ehrke 756195a939
tests 2016-07-11 09:00:33 +02:00
Georg Ehrke 8791b9d6e6
add istanbul 2016-06-23 16:34:38 +02:00
Georg Ehrke 21cec47620
add unit tests 2016-06-12 17:19:19 +02:00
Georg Ehrke fc42c37c3c Merge pull request #517 from owncloud/test_all_the_filters
test all the filters
2016-06-12 16:30:07 +02:00
Georg Ehrke b3f72d5476
WIP: test all the filters 2016-06-12 14:58:19 +02:00
Georg Ehrke d8a2fca9ed
show class input 2016-06-09 13:06:23 +02:00
Georg Ehrke e21d24ffd4
add old jquery path for stable9 2016-05-21 17:52:47 +02:00
Georg Ehrke 5fa22f8d52
get rid of custom auto loader 2016-05-09 10:00:12 +02:00
Georg Ehrke 9ab1b8b541
fix jquery url 2016-05-07 10:27:16 +02:00
Georg Ehrke bb6a411dab
fix tests class autoloader 2016-05-07 10:27:16 +02:00
Georg Ehrke c0f5875bad use proper user method to get email address 2016-03-30 13:04:54 +02:00
Georg Ehrke a314e8bda4 split up eventsidebar controller 2016-03-11 13:03:56 +01:00
Georg Ehrke 0be492688b Merge pull request #268 from owncloud/show_asset-pipeline_error
show error message when asset pipeline is enabled
2016-03-06 18:29:04 +01:00
Georg Ehrke cf88f2fee1 remove unused api endpoint 2016-03-06 02:32:17 +01:00
Georg Ehrke e34d11aeda show error message when asset pipeline is enabled 2016-03-05 13:17:31 +01:00
Thomas Müller d0e7423188 Merge pull request #230 from owncloud/location_typeahead
add autocompletion for location
2016-02-22 15:56:40 +01:00
Georg Ehrke 20859659ac add autocompletion for location 2016-02-20 17:10:50 +01:00
Georg Ehrke e3517aa075 add organizer when event has attendees 2016-02-20 15:58:49 +01:00
Thomas Müller 4be6e69f02 Fixing timezone filters 2016-02-16 13:48:42 +01:00
Georg Ehrke 2bbd80a7bf implement ical splitter 2016-01-13 17:46:39 +01:00
Georg Ehrke c72ced448c happy new year 2015-12-31 23:55:00 +01:00
Georg Ehrke 71ff02c54c add tests for timezone methods 2015-12-24 20:30:07 +01:00
Georg Ehrke 28c0a6c782 add more php unit tests 2015-12-24 00:36:06 +01:00
Georg Ehrke 3a6668f97a get rid of all the obsolote php code 2015-12-23 20:06:37 +01:00
Georg Ehrke f442a421d4 get rid of restangular and it's dependency lodash 2015-12-22 22:39:38 +01:00
Raghu Nayyar 134b7cb28d Fixes buttons fuck up and grunt issues. 2015-12-21 14:57:12 +05:30
Georg Ehrke 1d7819f412 remove obsolote tests and fix calendarlist test 2015-12-19 21:09:49 +01:00
Thomas Müller 5ad26a52aa AppController no longer exists -> remove the test 2015-12-17 12:20:39 +01:00
Raghu Nayyar ade2238b26 Tries to fix failing tests 2015-11-24 01:50:34 +05:30
Raghu Nayyar 0bc40a0915 get rid of eventsmodel 2015-10-23 16:49:07 +02:00
Georg Ehrke aaf53e35b0 skip broken backendcollectiontest for now 2015-09-15 20:48:08 +02:00
Georg Ehrke d6ae962d08 fix calendarlistcontroller tests 2015-09-11 19:57:09 +02:00
Bernhard Froehler 608d3685d8 Tests for Collection 2015-09-05 16:13:06 +02:00
Bernhard Froehler 69052f8d68 Unit Tests: Regex 2015-09-05 15:40:24 +02:00
Bernhard Froehler 38b9325088 Fix some tests, typos 2015-09-05 15:40:24 +02:00
Bernhard Froehler 0fb3f341e2 Merge duplicate TestEntity/EmptyEntity 2015-09-05 15:40:24 +02:00
Bernhard Froehler ec262625c5 Unit Tests: Db\Entity 2015-09-05 15:40:24 +02:00
Raghu Nayyar 6947607518 More JS and tests cleanup. 2015-09-05 15:40:22 +02:00
Raghu Nayyar be1c14fac2 Tries to fix failing test, @georgehrke please have a look sometime. :) 2015-09-05 15:40:22 +02:00
Raghu Nayyar 331f751bd0 Clean up : JSHints entire JS. 2015-09-05 15:40:22 +02:00
Raghu Nayyar 1654f47afa Test: Adds more spec for eventsmodel. 2015-09-05 15:40:22 +02:00
Raghu Nayyar 69e1e1f9a0 Fix: Adds Stubs to temporarily fix the OC Unit test error. 2015-09-05 15:40:22 +02:00
Raghu Nayyar 7aca49926a Tests: More tests for CalendarModel and SubscriptionModel. 2015-09-05 15:40:21 +02:00
Raghu Nayyar ecbbc6b56a Fix: Makes right request, adds ngAnnotate to Grunt. 2015-09-05 15:40:21 +02:00
Raghu Nayyar c578f49bf7 Adds: CalendarModel Spec. 2015-09-05 15:40:21 +02:00
Raghu Nayyar 406e7e1389 Tests: Adds some tests for CalendarModel. 2015-09-05 15:40:21 +02:00
Raghu Nayyar aeabb9917c Fix: Fixes JS unit tests and removed repeat test. 2015-09-05 15:40:21 +02:00
Thomas Müller 75b7775fd3 Fixing PHPUNIT execution - remove dependency to Contacts app 2015-09-05 15:40:20 +02:00
Georg Ehrke 58b6721bf6 fix errors on travis
update composer

update travis.yml

aim to fix errors on travis

aim to fix errors on travis take 2

fix reference-bug in db/collection.php

aim to fix errors on travis take 3

fix another reference-bug in db/collection.php

aim to fix errors on travis take 4

fix karma.js

aim to fix errors on travis take 5

aim to fix errors on travis take 6

update test's classloader

fix classloader, tests error, but don't fail with fatal error
2015-09-05 15:40:18 +02:00
Georg Ehrke dfbc349a14 initialize everything backend on demand 2015-09-05 15:40:18 +02:00
Georg Ehrke ca706f51b9 first implementations for caching 2015-09-05 15:40:15 +02:00
Georg Ehrke 70277a8bf3 fix calendar test 2015-09-05 15:40:14 +02:00
Georg Ehrke 9385bc5192 update tests 2015-09-05 15:40:13 +02:00
Georg Ehrke 2f0247d08d split up backend classes 2015-09-05 15:40:12 +02:00
raghunayyar fa3d1b83d8 Tests: Make Create Calendar Test Pass, Reove not required test. 2015-09-05 15:40:11 +02:00
raghunayyar ac98665d42 Tests: Adds failing tests for Calendarlist and Subscriptionlist. 2015-09-05 15:40:11 +02:00
raghunayyar ac1d16e609 Fix: Changes configuration and tests pass again. 2015-09-05 15:40:11 +02:00
Georg Ehrke 6bd000c7ce fix karma test 2015-09-05 15:40:11 +02:00
Georg Ehrke 59cb2125d0 add calendarUtilityTest 2015-09-05 15:40:10 +02:00
Georg Ehrke a299e3cecc remove empty tests for now 2015-09-05 15:40:10 +02:00
Georg Ehrke 50fe72a8ef fix test naming schema 2015-09-05 15:40:10 +02:00
Georg Ehrke a89db40e4c add utilitytest 2015-09-05 15:40:10 +02:00
Georg Ehrke f53f77a79c add colorutility test 2015-09-05 15:40:09 +02:00
Georg Ehrke f00344ea3c We don't need the MapperTestUtility yet 2015-09-05 15:40:09 +02:00
Georg Ehrke dc42cf94c8 fix bug and comment out broken test 2015-09-05 15:40:09 +02:00
raghunayyar 63222808a5 Tests: Includes Specs for Appcontroller. 2015-09-05 15:40:09 +02:00
Georg Ehrke 2ac8b44581 get phpunit running 2015-09-05 15:40:09 +02:00
raghunayyar ed0a799338 Designs Attendees as per jan. 2015-09-05 15:40:09 +02:00
raghunayyar 17c7ec7e7e Test: First javaScript unit tests. 2015-09-05 15:40:09 +02:00
Georg Ehrke 6a495bef8d add travis-ci-apache 2015-09-05 15:40:08 +02:00
Georg Ehrke 5c0e591c51 add basic unit tests 2015-09-05 15:40:07 +02:00
raghunayyar 9872bd0fed Sets up unittests. 2015-09-05 15:40:06 +02:00
raghunayyar 52809a3eeb Adds angular mocks and stubs to unit test. 2015-09-05 15:40:06 +02:00
raghunayyar 002e57efde Setting up Unit tests. 2015-09-05 15:40:06 +02:00
Georg Ehrke a604975b4a save current work state 2015-09-05 15:39:29 +02:00
Georg Ehrke 99f2e03b6d initial commit 2015-09-05 15:38:57 +02:00