Gilbert Röhrbein
9c8572e335
nautilus integration: refactored _connectToSocketServer, removed superfluous check
2016-10-25 21:45:47 +02:00
Gilbert Röhrbein
e675a34fbb
nautilus integration: use os.path.join, os.sep and tempfile.gettempdir instead of string concats
2016-10-25 20:15:17 +02:00
Gilbert Röhrbein
166a0f60ca
nautilus integration: "share" extension for syncing folders
...
Issue #4608
* folder state is either OK or SYNC usually
* this extension does not know about if a folder is shareable
* a OK folder is shareable
* a SYNC folder could be uploaded or not uploaded
* this commit looks into file entries below this folder
* if one exists with state OK or SYNC
this folder must have been uploaded
* better would be if the server (gui) tells us
if the folder is uploaded
2016-10-22 23:26:44 +02:00
Klaas Freitag
641125eac1
Fix nautilus and nemo plugin branding strings. ( #4780 )
...
* Fix nautilus and nemo plugin branding strings.
Fix for owncloud/enterprise#1314
* nautilus plugin: Add a comment why the line needs to stay unchanged.
2016-05-03 11:36:56 +02:00
Christian Kamm
f657bd0cd9
Overlay icons: Fix invalidation with nautilus #3249
...
This avoids an extra socketapi call after invalidate_extension_info
is called from a STATUS message.
2016-04-26 11:49:56 +02:00
Christian Kamm
b4cf17d99d
Overlay icons: Fix duplicate icons in nautilus #3249
2016-04-26 11:02:59 +02:00
Klaas Freitag
f72c7f43bf
Nautilus plugin: Be more robust against new states from socketapi
...
Do not bail out if an unknown state comes from SocketApi
2016-04-20 17:13:06 +02:00
Klaas Freitag
add29befee
Nautilus plugin: Remove the bogus logging
2016-04-20 17:12:21 +02:00
Klaas Freitag
8eb53fa9ae
nautilus integration: Handle NOP as empty.
2016-04-14 15:24:46 +02:00
Klaas Freitag
96f50d0c47
Nautilus integration: Remove Shebang from plugin source.
...
This fixes #4436
2016-02-08 17:00:39 +01:00
Klaas Freitag
29e2877d35
NautilusPlugin: Fix behaviour with files with a colon in the name.
2015-11-25 15:11:12 +01:00
Klaas Freitag
a708f8d8ad
NautilusPlugin: Fix detection of the OK status
...
Consider OK+SHW also as ok, and enable the ownCloud actions.
2015-11-25 15:11:12 +01:00
Klaas Freitag
8777982629
NautilusPlugin: Fix detection of top level sync folder.
2015-11-25 15:11:12 +01:00
Lilian Besson
aa1a2d1247
Reviewing, improved style, and a initializing message
...
- Add an "Initializing owncloud-client-nautilus extension" message
2015-10-31 13:07:18 +01:00
Phil Davis
bae552f386
Minor shell integration typos
...
all in comments or other places that have no effect on the user.
2015-09-10 17:14:08 +05:45
Individual IT Services
5414c65442
don't show share menu item for top level folders
...
Top level folders cannot be shared. If you try you receive an 403 error.
So we should not show the "Share with Owncloud" menu item for them
2015-08-28 16:24:52 +05:45
Individual IT Services
9a0fba5f5e
checking if file or folder is to be shared to fix issue #3556
2015-08-18 11:46:29 +02:00
Klaas Freitag
cbbc5af834
Nautilus Shell Integration: Re-Assemble the whole filename after split.
...
The socketapi uses the colon as delimiter, which splits files that contain
a colon. This patch re-assembles the filename again in case that happened.
2015-07-29 11:47:00 +02:00
Klaas Freitag
b012fae144
Nautilus Shell Integration: Only show menu entry for item state OK
...
If the file is ignored or errornous, do not add the sharing menu item to
the context menu.
This is (a partly) solution to bug ä2775
2015-07-29 11:29:10 +02:00
Hefee
b1100cd9e5
fix python3 syntax errors
2015-03-22 17:49:09 +01:00
Christian Kamm
842e5ba5e0
Sharing: Fix for folders containing &. #2892
2015-02-26 09:58:09 +01:00
Christian Kamm
9aeda891c3
Nautilus integration: clean up, fix bugs #2820
...
* Fix various spaces vs tabs issues
* Rewrite
- to use instance variables consistently
- to not make shared state explicit instead of relying on
class variables of a common base
* Fix reconnecting to an oC client.
2015-02-11 14:53:17 +01:00
Christian Kamm
5b6a6319c2
Nautilus integration: Fix invalid member access #2819
2015-02-11 11:31:07 +01:00
Klaas Freitag
5dc2871e2b
Nautilus plugin: Fix broken indentation (python).
2015-01-30 14:27:15 +01:00
Klaas Freitag
37f19dd0fe
nautilus menu: Do not show entry on external files.
2015-01-29 18:11:04 +01:00
Klaas Freitag
ed4d31ebc5
Nautilus overlay: Use branded program name for menu item.
2015-01-23 11:50:42 +01:00
Klaas Freitag
82e5e36c57
Nautilus: Display context menu for files that are not yet synced.
2015-01-21 17:41:57 +01:00
Klaas Freitag
b754ffb047
Nautilus: Add a context menu that opens the sharing dialog.
2015-01-12 14:49:22 +01:00
Olivier Goffart
b154e1baa1
Nautilus shell integration: Use fallback when XDG_RUNTIME_DIR is not defined
...
Same fallback as in Qt5
Task #2477
2014-12-01 12:06:09 +01:00
hefee
f9dfdd58df
Fixing indent and make nautilus script python3 compatible.
2014-11-09 16:59:01 +01:00
Daniel Molkentin
17a4299f74
Fix nautilus python integration
2014-11-06 19:26:43 +01:00
Klaas Freitag
a78bb252de
Nautilus shell: Remove some useless logging.
2014-11-06 09:23:30 +01:00
Daniel Molkentin
b9849580f8
ReNautilus Shell Intgration: Remove debug output
2014-10-17 12:09:30 +02:00
Klaas Freitag
8371e34d87
Nautilus overlay: minor cleanups
2014-10-13 14:59:23 +02:00
Klaas Freitag
29987ca2aa
Overlays Linux: Add the state to the cache to save calls to add_emblem
...
The SocketAPI sends status updates for files without being asked for.
And in order to not draw the emblem again if it had not changed, the
state is compared before calling add_emblem
2014-09-30 13:57:06 +02:00
Klaas Freitag
efbc495f79
overlays Nautilus: Adopt to the use a local unix socket not TCP.
...
Also, use the appname to find the correct branded icons.
2014-09-30 11:17:05 +02:00
Klaas Freitag
09be4d22ee
Nautilus: Renamed nautilus plugin script to make it branding friendly
2014-09-22 12:24:06 +02:00