Florian Pritz
152fc7d94d
files: fix max filesize check
...
php check both, upload_max_filesize and post_max_size, when uploading a
file so we should do the same when figuring out the maximum size.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:42:06 +02:00
Florian Pritz
ef07b599cb
files/ajax: catch upload errors
...
If the file wasn't uploaded successfully bail early.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:42:05 +02:00
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
Robin Appelman
42c5a24dc3
more fancy fading
2011-08-13 00:23:15 +02:00
Jan-Christoph Borchardt
02824cabfe
removed downloading as fallback action when file type can not be opened
2011-08-12 11:55:11 +02:00
Jan-Christoph Borchardt
f62b315159
file hovering now very fancy, CSS fade for row and extension
2011-08-12 11:51:48 +02:00
Robin Appelman
9ba303a95f
fix uploading multiple files
2011-08-12 11:50:07 +02:00
Jan-Christoph Borchardt
6c4d075bd6
added jquery-tipsy for nice title tooltips
2011-08-12 11:26:13 +02:00
Jan-Christoph Borchardt
db4fccce51
styled hovering file list more subtle
2011-08-12 01:53:24 +02:00
Michael Gapczynski
d78b75a0d1
Merge branch 'master' into sharing
2011-08-11 17:43:43 -04:00
Michael Gapczynski
4830555cce
Merge branch 'master' into sharing
...
Conflicts:
.gitignore
2011-08-11 17:42:37 -04:00
Jan-Christoph Borchardt
577f2952bd
action icons are now ACTION ICONS
2011-08-11 23:38:50 +02:00
Robin Appelman
972f7d7e60
forgot something
2011-08-11 23:23:59 +02:00
Robin Appelman
ae7d9143f4
allow dynamicly determaning icons for fileactions
2011-08-11 23:21:30 +02:00
Dawid Opis
11b3c10cc6
resolved merge conflicts
2011-08-11 22:29:48 +02:00
Dawid Opis
9683d44633
fixed upload button
2011-08-11 22:22:32 +02:00
Jan-Christoph Borchardt
ce9b36fd3e
some interaction design for user management
2011-08-11 21:00:48 +02:00
Robin Appelman
0bcb4a6a8f
set default max upload size in the .htaccess file to something rediculous
...
and don't show the max filesize message when the limit is over 10GB
2011-08-11 21:00:18 +02:00
Robin Appelman
dfb923f34e
automatically set background images to png when needed
2011-08-11 20:36:31 +02:00
Michael Gapczynski
c65046773d
Make unshare work from dropdown
2011-08-11 14:20:50 -04:00
Jan-Christoph Borchardt
99790d6805
lots of image changes, use svg EVERYWHERE POSSIBLE
2011-08-11 19:00:32 +02:00
Frank Karlitschek
c824572b91
fix the getlink calls
2011-08-11 16:15:55 +02:00
Jan-Christoph Borchardt
b4e89871dd
merged master into sharing
2011-08-11 13:29:22 +02:00
Dawid Opis
fa61279e45
fixed upload button overlapping new folder input
2011-08-11 00:03:26 +02:00
Jan-Christoph Borchardt
1128b15833
fixed navigation and breadcrumb graphics
2011-08-10 23:44:18 +02:00
Jan-Christoph Borchardt
225d000491
I don't always test my code. But when I do, I do it in production.
2011-08-10 23:26:25 +02:00
Jan-Christoph Borchardt
bdba88d7f6
damn z-index
2011-08-10 23:12:41 +02:00
Jan-Christoph Borchardt
90136b6e0a
fix search, sane z-indexes
2011-08-10 23:09:29 +02:00
Jan-Christoph Borchardt
6af4c2dd0f
moved search box directly to template
2011-08-10 23:02:41 +02:00
Jan-Christoph Borchardt
1dac5bb390
fixed undo notification not showing
2011-08-10 20:48:56 +02:00
Bartek Przybylski
ec31a29b3c
Bug 279826 fix
2011-08-10 20:12:42 +02:00
Michael Gapczynski
e1bde1a78e
Merge branch 'master' into sharing
...
Conflicts:
files/templates/index.php
2011-08-10 13:40:47 -04:00
Jan-Christoph Borchardt
f754d6dc51
lots of CSS details
2011-08-10 15:11:26 +02:00
Robin Appelman
9059b55979
make more strings translatable
2011-08-10 14:03:54 +02:00
Michael Gapczynski
ec6aed8475
Merge branch 'master' into sharing
2011-08-09 10:42:50 -04:00
Robin Appelman
5ecdd26902
show settings page in the correct context
2011-08-08 21:51:10 +02:00
Robin Appelman
e6f6d3dabc
dont use a different navigation page for settings stuff
2011-08-08 21:43:31 +02:00
Jan-Christoph Borchardt
3b34cba4ae
first mediaplayer styling
2011-08-08 21:40:39 +02:00
Robin Appelman
90726b10c4
fix a problem with ranming files containing spaces
2011-08-08 18:05:39 +02:00
Jan-Christoph Borchardt
3c01c36202
various style fixes
2011-08-08 14:13:11 +02:00
Jan-Christoph Borchardt
b9ce564053
Merge branch 'master' into sharing
2011-08-08 13:04:10 +02:00
Jan-Christoph Borchardt
ecd2738e83
fixed upload button
2011-08-08 12:48:43 +02:00
Jan-Christoph Borchardt
5382ec66a2
fixed search box and file controls
2011-08-08 11:24:09 +02:00
Michael Gapczynski
1aa89b7cbb
Merge branch 'master' into sharing
...
Conflicts:
files/css/files.css
lib/base.php
2011-08-07 15:56:26 -04:00
Jakob Sack
501b767e6e
Merge branch 'master' of git://anongit.kde.org/owncloud
2011-08-06 11:38:49 +02:00
Jakob Sack
5f7c040ec0
Add principals, minor changes in base.php
2011-08-06 11:36:56 +02:00
Jan-Christoph Borchardt
193b9c9386
styled undo file deletion
2011-08-05 07:37:08 +02:00
Jan-Christoph Borchardt
12cc7c77ba
widen upload and new folder so that upload button text does not overflow
2011-08-04 15:29:35 +02:00
Robin Appelman
e209511f86
provide undo button when deleting files from the web interface
2011-08-04 00:22:44 +02:00
Michael Gapczynski
8f01abf054
Share dropdown updates, making public links now works
2011-08-03 15:21:53 -04:00
Robin Appelman
3829b1e7b9
hide the file icon when showing the checkbox again
2011-08-02 23:03:59 +02:00
Robin Appelman
6bda6de9a1
show table header in filebrowser always on top when files are selected
2011-08-02 23:00:40 +02:00
Jan-Christoph Borchardt
d0b2a3b1ac
moved dialog css to sharing, fixed position
2011-08-02 19:30:18 +02:00
Jan-Christoph Borchardt
d71cca0e81
first style for sharing dropdown, some html fixes
2011-08-02 18:58:33 +02:00
Jan-Christoph Borchardt
b5c213ce6d
fixed starting breadcrumb divider
2011-08-02 03:59:25 +02:00
Jan-Christoph Borchardt
5c941e57d2
fixed showing mimetypes for new files
2011-08-02 03:17:26 +02:00
Jan-Christoph Borchardt
657a61e537
no more misclicking files on checkbox ticking
2011-08-02 02:29:51 +02:00
Michael Gapczynski
0d3ebbfefd
Merge branch 'master' into sharing
2011-07-30 19:57:57 -04:00
Michael Gapczynski
11d1627513
Merge branch 'master' into sharing. Integrate with changes in master, rename classes
...
Conflicts:
lib/base.php
2011-07-30 19:40:19 -04:00
Robin Appelman
18949aaa0b
move public links to a subentry of files
2011-07-30 22:22:57 +02:00
Jan-Christoph Borchardt
b2f1d26d93
fixed color calculation again
2011-07-30 15:42:34 +02:00
Jan-Christoph Borchardt
103d45539d
fixed file size and date color calculation in JavaScript
2011-07-30 15:31:11 +02:00
Jan-Christoph Borchardt
9714bab653
fixed table heading and multiselect style
2011-07-30 15:16:20 +02:00
Robin Appelman
77abade785
dont need to remove the empty folder message twice
2011-07-30 14:46:41 +02:00
Robin Appelman
78d41a03e0
automatically hide show/hide the empty folder message
2011-07-30 14:44:22 +02:00
Jan-Christoph Borchardt
95ec75b919
only bold current folder in breadcrumb navigation
2011-07-30 12:55:12 +02:00
Jan-Christoph Borchardt
48fb1e2dae
hide empty folder notification when a folder or file got uploaded
2011-07-30 12:14:09 +02:00
Jan-Christoph Borchardt
f9ddbc4925
documented file size and date color calculation part
2011-07-30 11:00:25 +02:00
Jan-Christoph Borchardt
bb5e6c9823
Transifex connection, added French and part of Bulgarian
2011-07-30 10:21:55 +02:00
Michael Gapczynski
f0c1f38f98
Add share action for mutliple selected files
2011-07-29 15:43:29 -04:00
Jakob Sack
bafd684eb6
Renaming classes :-)
2011-07-29 21:36:03 +02:00
Jakob Sack
2bfad189e7
Merge branch 'master' of git://anongit.kde.org/owncloud into autoload
...
Conflicts:
lib/base.php
lib/filestorage.php
2011-07-29 20:42:24 +02:00
Robin Appelman
b6ad416757
you can now move files to the root folder by draging them to the Files entry in the navigation panel
2011-07-29 18:00:42 +02:00
Robin Appelman
98e78c0599
some tweaks for renaming
2011-07-29 17:51:38 +02:00
Robin Appelman
2781fdeed8
automatically replace svg images with png for browsers that dont support svg
2011-07-29 17:51:38 +02:00
Jan-Christoph Borchardt
46400a8124
message and hint for upload if folder is empty
2011-07-29 13:01:15 +02:00
Jan-Christoph Borchardt
72402ff143
removed some more legacy CSS
2011-07-29 04:24:02 +02:00
Jan-Christoph Borchardt
7e0bbd20c0
revised coloring again
2011-07-29 03:09:30 +02:00
Jan-Christoph Borchardt
d23d4e66c5
revised color calculation for size and age
2011-07-29 03:04:25 +02:00
Robin Appelman
2d43f6e307
make foldernames also bold after renaming
2011-07-29 02:47:25 +02:00
Robin Appelman
468319fe04
no need for an ok button for creating folders
2011-07-29 02:37:17 +02:00
Robin Appelman
3758b0d707
fix size of selected files with new uploaded files
2011-07-29 02:33:58 +02:00
Robin Appelman
952b83cbdc
show proper cursor for rename textfield
2011-07-29 02:28:39 +02:00
Robin Appelman
a7748c14c6
dont need the ok button for renaming
2011-07-29 02:26:32 +02:00
Jan-Christoph Borchardt
224dbed79c
narrow modified column, remove help cursor
2011-07-29 02:20:06 +02:00
Robin Appelman
0e76d06358
properly style filenames after renaming
2011-07-29 02:17:40 +02:00
Robin Appelman
3a9af23cda
always show download icon on hover
2011-07-29 02:02:17 +02:00
Robin Appelman
6d0c8ea7e4
use proper file icons for image and audio files
2011-07-29 01:37:08 +02:00
Jan-Christoph Borchardt
19d81add3d
remove legacy styles
2011-07-29 01:27:02 +02:00
Jan-Christoph Borchardt
c15db76aa0
icons for music and images
2011-07-29 01:16:30 +02:00
Robin Appelman
82261e9907
use relative times for new upload files
2011-07-29 01:10:08 +02:00
Jan-Christoph Borchardt
f1616b0e62
implemented relative file size and coloring
2011-07-29 00:46:20 +02:00
Robin Appelman
c73dd86713
confirmation dialogs for deletions
2011-07-29 00:26:23 +02:00
Robin Appelman
433ad8c3ce
add size tooltip for selected files
2011-07-28 23:56:42 +02:00
Robin Appelman
4028178982
fix serveral styling issues on uploaded files
2011-07-28 23:52:49 +02:00
Jan-Christoph Borchardt
9642a43129
correctly display icons and rename box
2011-07-28 23:24:00 +02:00
Robin Appelman
9565ea251d
Implement inline renaming of files
...
Still needs some ui love
2011-07-28 23:04:34 +02:00
Jan-Christoph Borchardt
ba246d3b27
Merge branch 'master' into interface
2011-07-28 22:20:34 +02:00
Robin Appelman
5728f80116
remove dummy settings
2011-07-28 21:05:49 +02:00
Jan-Christoph Borchardt
43f99a8983
finished action icons on hover, small style improvements
2011-07-28 12:14:55 +02:00
Robin Appelman
ece6bd663c
show icons instead of text for file actions
2011-07-28 04:29:04 +02:00