]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
13 years agofiles/ajax: catch upload errors
Florian Pritz [Fri, 23 Sep 2011 18:03:39 +0000 (20:03 +0200)]
files/ajax: catch upload errors

If the file wasn't uploaded successfully bail early.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agosettings/personal: calculate the relative usage with 2 decimals
Florian Pritz [Fri, 23 Sep 2011 17:45:00 +0000 (19:45 +0200)]
settings/personal: calculate the relative usage with 2 decimals

Normally a browser window will be large enough that the bar is wider
than 100px so we can use decimals to display the real usage more
closely.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agosettings/personal: remove padding from quota bar
Florian Pritz [Fri, 23 Sep 2011 17:43:32 +0000 (19:43 +0200)]
settings/personal: remove padding from quota bar

The text will stay in it's place, but 0% usage will lead to an empty
bar.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agofix warning when uploading file using webdav
Florian Pritz [Fri, 23 Sep 2011 15:32:14 +0000 (17:32 +0200)]
fix warning when uploading file using webdav

When uploading a file using davfs php warned about a missing argument to
OC_FileProxy_Quota::preFile_put_contents(). Since we get a resource from
OC_Connector_Sabre_File->put(), we have to convert that before running
strlen because it expects a string.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoset cookie secure if forcessl is enabled
Florian Pritz [Fri, 23 Sep 2011 11:52:10 +0000 (13:52 +0200)]
set cookie secure if forcessl is enabled

This also moves session_start in lib/base.php down a bit because we need
OC::$SERVERROOT to get the config settings.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoapps/contacts: only display buttons if there is a contact
Florian Pritz [Fri, 23 Sep 2011 11:15:01 +0000 (13:15 +0200)]
apps/contacts: only display buttons if there is a contact

If you don't have any contacts, it would display a non-functioning
delete button.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoapps/contacts: fix wrapping issue in addpropertyform
Florian Pritz [Fri, 23 Sep 2011 11:00:47 +0000 (13:00 +0200)]
apps/contacts: fix wrapping issue in addpropertyform

The browser added random line breaks between the label and input field
making it hard to see what's what.

Now we break lines intentionally just like in setpropertyform.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoapps/bookmarks: use curl instead of file_get_contents
Florian Pritz [Fri, 23 Sep 2011 10:49:14 +0000 (12:49 +0200)]
apps/bookmarks: use curl instead of file_get_contents

Don't depend on allow_url_fopen being enabled when we already use curl
elsewhere in the code.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agofix apps/bookmarks if oc_bookmarks_tags is empty
Florian Pritz [Fri, 23 Sep 2011 10:39:38 +0000 (12:39 +0200)]
fix apps/bookmarks if oc_bookmarks_tags is empty

If you have bookmarks, but there are no tags in oc_bookmarks_tags, the
query doesn't return any results. Using a left join fixes this.

Reference:
http://stackoverflow.com/questions/3171276/select-multiple-tables-when-one-table-is-empty-in-mysql

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoapps/calendar: change ctag after modifying event
Florian Pritz [Fri, 23 Sep 2011 08:50:32 +0000 (10:50 +0200)]
apps/calendar: change ctag after modifying event

edit() tried to do that, but it used $id which is the event id and not
the calendar id.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agofiles: hide non functioning code when called from a/f_s/get.php
Florian Pritz [Fri, 23 Sep 2011 07:46:13 +0000 (09:46 +0200)]
files: hide non functioning code when called from a/f_s/get.php

The checkboxes don't work because files.js is missing. Adding it leads
to the problem that it relies on files/ajax and most of the code only
works for logged in users.

The actions div contains undefined variables and doesn't work either.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agochange DATETIME to DATE-TIME in vcards
Florian Pritz [Thu, 22 Sep 2011 21:17:23 +0000 (23:17 +0200)]
change DATETIME to DATE-TIME in vcards

The rfc [1] only mentions "DATE-TIME" and after this change events
created in the web ui can be imported by lightning. Before it threw a
syntax error.

[1]: https://tools.ietf.org/html/rfc5545

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoapps/calendar: add delete button to edit event form
Florian Pritz [Thu, 22 Sep 2011 20:09:03 +0000 (22:09 +0200)]
apps/calendar: add delete button to edit event form

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agodon't escape new lines in vevent description
Florian Pritz [Thu, 22 Sep 2011 19:43:30 +0000 (21:43 +0200)]
don't escape new lines in vevent description

This ended up as "\n\\n" in the data base and the escaped \n was also
visible in the edit form.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agodon't print empty folder warning if it will be hidden
Florian Pritz [Thu, 22 Sep 2011 17:47:25 +0000 (19:47 +0200)]
don't print empty folder warning if it will be hidden

No point in wasting resources if you don't show it.

This also fixes an undefined variable notice.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agofiles: fix wrong image paths if called from files_shareing/get.php
Florian Pritz [Thu, 22 Sep 2011 17:41:31 +0000 (19:41 +0200)]
files: fix wrong image paths if called from files_shareing/get.php

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoonly call error_log() if DEBUG is true
Florian Pritz [Thu, 22 Sep 2011 17:24:32 +0000 (19:24 +0200)]
only call error_log() if DEBUG is true

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agofix error when uploading music
Florian Pritz [Thu, 22 Sep 2011 16:30:22 +0000 (18:30 +0200)]
fix error when uploading music

These methods are called statically so make them static.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agouse jquery 1.6.4
Florian Pritz [Thu, 22 Sep 2011 16:01:26 +0000 (18:01 +0200)]
use jquery 1.6.4

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agoapps/calendar: check if variables are set before using them
Florian Pritz [Thu, 22 Sep 2011 15:05:56 +0000 (17:05 +0200)]
apps/calendar: check if variables are set before using them

Signed-off-by: Florian Pritz <bluewind@xinu.at>
13 years agomoved copyright and license notices in one place
Jan-Christoph Borchardt [Sat, 24 Sep 2011 14:30:11 +0000 (16:30 +0200)]
moved copyright and license notices in one place

13 years agoChange copyright notice to short form
Bart Visscher [Fri, 23 Sep 2011 20:59:24 +0000 (22:59 +0200)]
Change copyright notice to short form

13 years agoFix use of reserved javascript keyword 'new'
Bart Visscher [Fri, 23 Sep 2011 20:22:03 +0000 (22:22 +0200)]
Fix use of reserved javascript keyword 'new'

13 years agointegrated and updated calendar translations
Jan-Christoph Borchardt [Fri, 23 Sep 2011 18:38:19 +0000 (20:38 +0200)]
integrated and updated calendar translations

13 years agofixed a few calendar words, hack to get shortcode for May translatable
Jan-Christoph Borchardt [Fri, 23 Sep 2011 18:19:39 +0000 (20:19 +0200)]
fixed a few calendar words, hack to get shortcode for May translatable

13 years agofixed contacts strings (no technical stuff in the interface, don't scream at people...
Jan-Christoph Borchardt [Fri, 23 Sep 2011 18:13:15 +0000 (20:13 +0200)]
fixed contacts strings (no technical stuff in the interface, don't scream at people, ...), ready for translation

13 years agoAfter clicking Finish button:
Bart Visscher [Fri, 23 Sep 2011 17:39:30 +0000 (19:39 +0200)]
After clicking Finish button:

- change value to "Please wait...."
- disable all the inputs & buttons
- submit new form, because disabled inputs are not submitted to the server

13 years agoMake event category choice multiselect
Bart Visscher [Thu, 22 Sep 2011 20:22:52 +0000 (22:22 +0200)]
Make event category choice multiselect

13 years agoupdated translations
Jan-Christoph Borchardt [Fri, 23 Sep 2011 17:08:02 +0000 (19:08 +0200)]
updated translations

13 years agoAdd Sabre_DAV_Browser_Plugin to *DAV-servers to ease debugging
Jakob Sack [Fri, 23 Sep 2011 07:40:01 +0000 (09:40 +0200)]
Add Sabre_DAV_Browser_Plugin to *DAV-servers to ease debugging

13 years agofix file uploads for IE
Robin Appelman [Thu, 22 Sep 2011 21:24:24 +0000 (23:24 +0200)]
fix file uploads for IE

13 years agoSmall styling fixes
Bart Visscher [Tue, 20 Sep 2011 12:38:16 +0000 (14:38 +0200)]
Small styling fixes

13 years agoMove some common code to OC_Util
Bart Visscher [Sun, 18 Sep 2011 19:31:56 +0000 (21:31 +0200)]
Move some common code to OC_Util

Created the following function:
 - checkLoggedIn
 - checkAdminUser
 - redirectToDefaultPage

13 years agoCleanup lib/base.php
Bart Visscher [Sun, 18 Sep 2011 18:57:05 +0000 (20:57 +0200)]
Cleanup lib/base.php

13 years agoRemove global vars and use the OC static version.
Bart Visscher [Sun, 18 Sep 2011 17:37:54 +0000 (19:37 +0200)]
Remove global vars and use the OC static version.

Removed global vars are DOCUMENTROOT, SERVERROOT, SUBURI, WEBROOT and CONFIG_DATADIRECTORY

13 years agoFix calendar active checkbox
Bart Visscher [Sun, 18 Sep 2011 15:13:26 +0000 (17:13 +0200)]
Fix calendar active checkbox

13 years agoFix event error/success json message
Bart Visscher [Sun, 18 Sep 2011 15:12:31 +0000 (17:12 +0200)]
Fix event error/success json message

13 years agodeleteUser function must be static
Bart Visscher [Sun, 18 Sep 2011 14:34:41 +0000 (16:34 +0200)]
deleteUser function must be static

13 years agoMerge branch 'master' of git://gitorious.org/owncloud/owncloud
Bartek Przybylski [Sun, 18 Sep 2011 13:06:51 +0000 (15:06 +0200)]
Merge branch 'master' of git://gitorious.org/owncloud/owncloud

13 years agoremember changed not to store password in cookie
Bartek Przybylski [Sun, 18 Sep 2011 13:05:53 +0000 (15:05 +0200)]
remember changed not to store password in cookie

13 years agofix creating groups
Robin Appelman [Sun, 18 Sep 2011 11:34:29 +0000 (13:34 +0200)]
fix creating groups

13 years agoChanged behaviour of remember checkbox
Bartek Przybylski [Sun, 18 Sep 2011 07:15:30 +0000 (09:15 +0200)]
Changed behaviour of remember checkbox

13 years agodont use numRows when it's not needed since it can be expensive
Robin Appelman [Sat, 17 Sep 2011 00:36:04 +0000 (02:36 +0200)]
dont use numRows when it's not needed since it can be expensive

13 years agono need to escape values when using prepared statements
Robin Appelman [Sat, 17 Sep 2011 00:29:35 +0000 (02:29 +0200)]
no need to escape values when using prepared statements

13 years agoAdd class versions for leftcontent and rightcontent in css
Bart Visscher [Fri, 16 Sep 2011 23:05:24 +0000 (01:05 +0200)]
Add class versions for leftcontent and rightcontent in css

13 years agoRemove unused function call
Bart Visscher [Fri, 16 Sep 2011 23:54:06 +0000 (01:54 +0200)]
Remove unused function call

13 years agoDisable the Oneday and Fourweeks buttons in calendar interface
Bart Visscher [Fri, 16 Sep 2011 22:29:07 +0000 (00:29 +0200)]
Disable the Oneday and Fourweeks buttons in calendar interface

13 years agofix small bugs
Jakob Sack [Fri, 16 Sep 2011 22:46:04 +0000 (00:46 +0200)]
fix small bugs

13 years agoSplit OC_Contacts_Addressbook in _Addressbook and _VCard
Jakob Sack [Fri, 16 Sep 2011 22:26:57 +0000 (00:26 +0200)]
Split OC_Contacts_Addressbook in _Addressbook and _VCard

13 years agoMove most javascript to calendar.js
Bart Visscher [Fri, 16 Sep 2011 15:50:55 +0000 (17:50 +0200)]
Move most javascript to calendar.js

13 years agoMove validateEventForm function and fix success handling
Bart Visscher [Fri, 16 Sep 2011 15:06:57 +0000 (17:06 +0200)]
Move validateEventForm function and fix success handling

13 years agoHandle multi open of choosecalendar dialog
Bart Visscher [Fri, 16 Sep 2011 12:11:22 +0000 (14:11 +0200)]
Handle multi open of choosecalendar dialog

13 years agoClose event new/edit dialog when clicking outside the dialog
Bart Visscher [Fri, 16 Sep 2011 12:02:21 +0000 (14:02 +0200)]
Close event new/edit dialog when clicking outside the dialog

13 years agoFixes for Calendar app
Bart Visscher [Thu, 15 Sep 2011 22:08:15 +0000 (00:08 +0200)]
Fixes for Calendar app

13 years agoFirst implementation of edit event
Bart Visscher [Thu, 15 Sep 2011 19:20:42 +0000 (21:20 +0200)]
First implementation of edit event

13 years agoFix conversion of VTODO and VJOURNAL items
Bart Visscher [Thu, 15 Sep 2011 09:26:13 +0000 (11:26 +0200)]
Fix conversion of VTODO and VJOURNAL items

13 years agoMove Calendar Object code to its own class OC_Calendar_Object
Bart Visscher [Thu, 15 Sep 2011 08:14:47 +0000 (10:14 +0200)]
Move Calendar Object code to its own class OC_Calendar_Object

13 years agofix documentation
Jakob Sack [Thu, 15 Sep 2011 21:20:49 +0000 (23:20 +0200)]
fix documentation

13 years agoAdd documentation to calendar.php
Jakob Sack [Thu, 15 Sep 2011 20:45:58 +0000 (22:45 +0200)]
Add documentation to calendar.php

13 years agoSmall fix in documentation
Jakob Sack [Thu, 15 Sep 2011 20:45:40 +0000 (22:45 +0200)]
Small fix in documentation

13 years agoImprove reading of vCard files
Jakob Sack [Thu, 15 Sep 2011 09:06:21 +0000 (11:06 +0200)]
Improve reading of vCard files

13 years agoMove php code out of part.eventform
Bart Visscher [Wed, 14 Sep 2011 21:29:35 +0000 (23:29 +0200)]
Move php code out of part.eventform

13 years agoMove event form field to part.eventform template
Bart Visscher [Wed, 14 Sep 2011 20:26:01 +0000 (22:26 +0200)]
Move event form field to part.eventform template

13 years agoRename calendar javascript functions into Calendar.UI namespace
Bart Visscher [Tue, 13 Sep 2011 20:42:56 +0000 (22:42 +0200)]
Rename calendar javascript functions into Calendar.UI namespace

13 years agoFix initial visibility of database settings in setup
Bart Visscher [Sun, 11 Sep 2011 20:06:45 +0000 (22:06 +0200)]
Fix initial visibility of database settings in setup

13 years agoAdd link and other edit information to newly added bookmarks.
Golnaz Nilieh [Tue, 13 Sep 2011 11:40:52 +0000 (16:10 +0430)]
Add link and other edit information to newly added bookmarks.

13 years agoAdd support of editing bookmarks.
Golnaz Nilieh [Tue, 13 Sep 2011 11:08:11 +0000 (15:38 +0430)]
Add support of editing bookmarks.

13 years agoCorrect deleting events over CalDAV
Florian Jacob [Mon, 12 Sep 2011 17:50:07 +0000 (19:50 +0200)]
Correct deleting events over CalDAV
A quick patch that corrects not being able to delete
calendar events. (misnamed variable). Thanks to Robert J. Clark.

13 years agofixed include for ocs
Klaas Freitag [Mon, 12 Sep 2011 14:20:38 +0000 (16:20 +0200)]
fixed include for ocs

13 years agooffer login popup from oauth dialog
Michiel@unhosted [Mon, 12 Sep 2011 13:17:52 +0000 (15:17 +0200)]
offer login popup from oauth dialog

13 years agooffer login popup from oauth dialog, correct base uri
Michiel@unhosted [Mon, 12 Sep 2011 13:04:21 +0000 (15:04 +0200)]
offer login popup from oauth dialog, correct base uri

13 years agocorrection in webfinger.php activation trap
Michiel@unhosted [Mon, 12 Sep 2011 12:59:22 +0000 (14:59 +0200)]
correction in webfinger.php activation trap

13 years agocorrect xml syntax
Michiel@unhosted [Mon, 12 Sep 2011 12:35:15 +0000 (14:35 +0200)]
correct xml syntax

13 years agoimprove uninstalled-protection
Michiel@unhosted [Mon, 12 Sep 2011 12:22:48 +0000 (14:22 +0200)]
improve uninstalled-protection

13 years agocheck activation and make activation impossible by default
Michiel@unhosted [Mon, 12 Sep 2011 12:15:19 +0000 (14:15 +0200)]
check activation and make activation impossible by default

13 years agoimproved troubleshooting instructions
Michiel@unhosted [Mon, 12 Sep 2011 11:47:14 +0000 (13:47 +0200)]
improved troubleshooting instructions

13 years agoMerge branch 'master' of gitorious.org:owncloud/owncloud
Michiel@unhosted [Mon, 12 Sep 2011 11:40:27 +0000 (13:40 +0200)]
Merge branch 'master' of gitorious.org:owncloud/owncloud

13 years agoremoved excess white space inside parentheses
Jan-Christoph Borchardt [Mon, 12 Sep 2011 10:30:57 +0000 (12:30 +0200)]
removed excess white space inside parentheses

13 years agofixed translation detection thanks to Xuetian Weng
Jan-Christoph Borchardt [Mon, 12 Sep 2011 10:29:43 +0000 (12:29 +0200)]
fixed translation detection thanks to Xuetian Weng

13 years agocorrect protocol
Michiel@unhosted [Sun, 11 Sep 2011 23:22:40 +0000 (01:22 +0200)]
correct protocol

13 years agoputting activation inside activate.php
Michiel@unhosted [Sun, 11 Sep 2011 22:32:38 +0000 (00:32 +0200)]
putting activation inside activate.php

13 years agoadding webfinger app
Michiel@unhosted [Sun, 11 Sep 2011 22:12:34 +0000 (00:12 +0200)]
adding webfinger app

13 years agorenamed last CW to Week
Jan-Christoph Borchardt [Sun, 11 Sep 2011 19:50:13 +0000 (21:50 +0200)]
renamed last CW to Week

13 years agoBetter feedback for saving calendar and openid settings
Bart Visscher [Sun, 11 Sep 2011 15:20:23 +0000 (17:20 +0200)]
Better feedback for saving calendar and openid settings

13 years agoCorrect copyright notices
Bart Visscher [Sun, 11 Sep 2011 14:45:58 +0000 (16:45 +0200)]
Correct copyright notices

13 years agocommented out broken code in add event function
Georg Ehrke [Sun, 11 Sep 2011 14:49:08 +0000 (16:49 +0200)]
commented out broken code in add event function

13 years agoOnly show used address attributes in contact view
Alexander Wigen [Fri, 9 Sep 2011 13:54:29 +0000 (15:54 +0200)]
Only show used address attributes in contact view

13 years agofixes in german language
Georg Ehrke [Sat, 10 Sep 2011 10:26:01 +0000 (12:26 +0200)]
fixes in german language

13 years agoFix a warning and an error
Bart Visscher [Sat, 10 Sep 2011 09:58:08 +0000 (11:58 +0200)]
Fix a warning and an error

13 years agobug fixes in calendar lib
Georg Ehrke [Sat, 10 Sep 2011 08:52:35 +0000 (10:52 +0200)]
bug fixes in calendar lib

13 years agoSmall update Calendars dialog
Bart Visscher [Fri, 9 Sep 2011 20:19:06 +0000 (22:19 +0200)]
Small update Calendars dialog

13 years agoUse OC_Helper::linkTo also for absolute urls.
Bart Visscher [Fri, 9 Sep 2011 18:51:53 +0000 (20:51 +0200)]
Use OC_Helper::linkTo also for absolute urls.

One central place to check for https.

13 years agotranslatable categories and other translations added
Georg Ehrke [Fri, 9 Sep 2011 18:39:38 +0000 (20:39 +0200)]
translatable categories and other translations added

13 years agoshow caldav url in choose calendar dialog
Georg Ehrke [Fri, 9 Sep 2011 16:44:33 +0000 (18:44 +0200)]
show caldav url in choose calendar dialog

13 years agoAdding "#leftcontent li.active" for using :active with jQuery
Jakob Sack [Thu, 8 Sep 2011 21:37:07 +0000 (23:37 +0200)]
Adding "#leftcontent li.active" for using :active with jQuery

13 years agoImproving contacts
Jakob Sack [Thu, 8 Sep 2011 21:36:47 +0000 (23:36 +0200)]
Improving contacts

13 years agoAdd creating calendars with the web interface
Bart Visscher [Thu, 8 Sep 2011 10:29:29 +0000 (12:29 +0200)]
Add creating calendars with the web interface

13 years agoImplement calendar list view
Bart Visscher [Wed, 7 Sep 2011 13:13:26 +0000 (15:13 +0200)]
Implement calendar list view

13 years agoUse js Date for holding dates in the whole calendar app
Bart Visscher [Tue, 6 Sep 2011 20:07:33 +0000 (22:07 +0200)]
Use js Date for holding dates in the whole calendar app

13 years agoEliminate most global calendar js vars
Bart Visscher [Tue, 6 Sep 2011 13:11:09 +0000 (15:11 +0200)]
Eliminate most global calendar js vars