Commit Graph

315 Commits

Author SHA1 Message Date
Florian Pritz c7d4e72341 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>
2011-09-24 18:42:00 +02:00
Florian Pritz d928cd3636 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>
2011-09-24 18:41:54 +02:00
Florian Pritz 652b744201 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>
2011-09-24 18:41:49 +02:00
Florian Pritz 2ff5df192b files: fix wrong image paths if called from files_shareing/get.php
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:41:48 +02:00
Florian Pritz 8648e3c43c only call error_log() if DEBUG is true
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:41:47 +02:00
Jan-Christoph Borchardt 5559a0dede updated translations 2011-09-23 19:08:02 +02:00
Jakob Sack 73d0caf8a4 Add Sabre_DAV_Browser_Plugin to *DAV-servers to ease debugging 2011-09-23 09:40:01 +02:00
Robin Appelman 917ea58a8c fix file uploads for IE 2011-09-22 23:25:23 +02:00
Bart Visscher e990ef3542 Move some common code to OC_Util
Created the following function:
 - checkLoggedIn
 - checkAdminUser
 - redirectToDefaultPage
2011-09-18 21:31:56 +02:00
Bart Visscher 82c7598861 Remove global vars and use the OC static version.
Removed global vars are DOCUMENTROOT, SERVERROOT, SUBURI, WEBROOT and CONFIG_DATADIRECTORY
2011-09-18 19:37:54 +02:00
Jan-Christoph Borchardt 1bf215cd08 updated translations 2011-09-03 15:08:58 +02:00
Robin Appelman e89a4b3a0d Fix bug: filenames in filelisting are not shown for files without extension
patch by Elias Probst
2011-08-30 20:23:39 +02:00
Michael Gapczynski be4cb55368 Fix newly uploaded files names being cut off if multiple '.' 2011-08-28 15:39:17 -04:00
Michael Gapczynski affc879cde Shift+Click multiselect for files 2011-08-28 15:21:53 -04:00
Michael Gapczynski a695aa3071 Months for modified date need to be translated 2011-08-28 14:21:36 -04:00
Michael Gapczynski 5f0ab971f1 Ctrl+Click on td.filename a selects file instead of default file action 2011-08-28 14:15:07 -04:00
Michael Gapczynski 0c0435615d Support translations for modified date column in files 2011-08-28 11:44:33 -04:00
Michael Gapczynski fef7e9d5f4 Style changes for multiselect and add tipsy for file size 2011-08-27 22:16:39 -04:00
Michael Gapczynski 2b572f676d Fix file actions broken in some browsers, rename delete to do_delete - Thanks Bart Visscher 2011-08-27 19:32:48 -04:00
Michael Gapczynski 9353d1de74 Get file extension using lastIndexOf instead of indexOf in case there is a '.' in file name 2011-08-24 20:34:27 -04:00
Jan-Christoph Borchardt d40b905f27 Revert "hints for file actions"
1) Please test in Firefox 2) File actions should be refactored first, to be shown/hidden via CSS, not via JavaScript
This reverts commit e78d1dd676.
2011-08-23 11:45:28 +02:00
Bartek Przybylski e78d1dd676 hints for file actions 2011-08-22 19:33:21 +02:00
Robin Appelman d5ba4ec825 some improvements in automatic svg replacement 2011-08-22 15:20:24 +02:00
Robin Appelman 043e62ffd9 fix uploading files to the users root directory 2011-08-21 14:28:44 +02:00
Jan-Christoph Borchardt 3f8e4e2a30 added controls bar for Apps and Help 2011-08-21 11:14:57 +02:00
Michael Gapczynski ceae4fa7b4 Fix bugs preventing file upload in shared folders with write permission 2011-08-20 12:36:20 -04:00
Jan-Christoph Borchardt d9aae20003 more valid HTML, alt attributes, refactored pagenavi etc. 2011-08-20 05:07:58 +02:00
Michael Gapczynski d1aebcddf2 Add downloadURL to files templates for both public links and files 2011-08-18 19:32:24 -04:00
Michael Gapczynski 498356fcb8 Copy get.php into files_sharing, public links now use files templates 2011-08-18 15:35:31 -04:00
Jan-Christoph Borchardt 4c49a81c8e language updates, optimization of Help HTML 2011-08-18 19:22:44 +02:00
Jan-Christoph Borchardt 2ee9e80afe Swedish translation, thanks to HakanS 2011-08-18 14:33:05 +02:00
Jan-Christoph Borchardt e8951b7a2d still show the icon on row hover so the file type is still visible 2011-08-18 12:54:10 +02:00
Jan-Christoph Borchardt 6720a45d65 updated translations 2011-08-18 11:46:49 +02:00
Robin Appelman 462fe1e56b fix default file actions not working 2011-08-17 00:21:12 +02:00
Michael Gapczynski 1ec75330ec Merge branch 'master' into sharing 2011-08-15 17:49:36 -04:00
Michael Gapczynski 70405cc80e Modify files css for sharing dropdown to avoid future merge conflicts 2011-08-15 17:47:54 -04:00
Robin Appelman 6173c0fbc2 a bit of refactoring for oc_filesystem and implement user quota 2011-08-15 21:09:13 +02:00
Jan-Christoph Borchardt 2cb231d0a4 resolved merge conflict 2011-08-14 19:31:38 +02:00
Jan-Christoph Borchardt 7bb261f810 more fixes for Personal and Tipsy 2011-08-14 16:12:31 +02:00
Jan-Christoph Borchardt 6e30ade0b3 updated tipsy, tooltips finally work everywhere, thanks icewind 2011-08-14 14:55:43 +02:00
Jan-Christoph Borchardt 6eabee3dfd small CSS changes 2011-08-13 18:22:40 +02:00
Jan-Christoph Borchardt 1f98f5cfda wayyy better position for file upload and new folder 2011-08-13 16:54:54 +02:00
Jan-Christoph Borchardt 7474c907dc CSS update, Personal looks better now 2011-08-13 15:32:00 +02:00
Jan-Christoph Borchardt 2ba3793671 updated translations 2011-08-13 12:43:15 +02:00
Jan-Christoph Borchardt 3b5f16b23c NEEDS MORE FADING 2011-08-13 06:05:00 +02:00
Jan-Christoph Borchardt d5b4056514 fixed tipsy tooltips for actions 2011-08-13 05:40:03 +02:00
Jan-Christoph Borchardt 7ece8ed314 added global action class for icons 2011-08-13 05:27:50 +02:00
Jan-Christoph Borchardt b2768637d2 updated translations 2011-08-13 05:13:35 +02:00
Michael Gapczynski 122018889a Merge branch 'master' into sharing
Conflicts:
	files/css/files.css
2011-08-12 21:00:41 -04:00
Jan-Christoph Borchardt 21690a3702 tweaked CSS fade transitions 2011-08-13 01:18:02 +02:00