Apps
Knowledge
People
Register
Login


-
- Content .- Fans (19) .- Knowledge Base (2) . 

grauphel - Tomboy sync server

   0.6.4  

ownCloud Productivity

Score 76%
grauphel - Tomboy sync server
zoom


grauphel - Tomboy sync server
zoom


grauphel - Tomboy sync server
zoom


Version Control:  Link
Issue Tracker:  Link
Version Control:  Link
Homepage:  Link
Minimum required   ownCloud 8.0
Maximum required   ownCloud 9.2
Downloads:  3183
Submitted:  Aug 23 2014
Updated:  May 10 2016

Description:

grauphel - tomboy REST server. ownCloud application implementing the Tomboy REST API for syncing notes.

Works with the following clients:
- Conboy (Nokia N900 Maemo)
- Tomboy (Linux, Windows)
- Tomdroid (Android)

Requires the PHP OAuth extension from pecl.php.net (C extension).
Installation instructions at http://cweiske.de/grauphel.htm#installation

Please report bugs at https://github.com/cweiske/grauphel/issues




Changelog:

0.6.4 - 2016-05-10
- Fix #41: Use correct SQL datetime format for tokens

0.6.3 - 2016-04-27
- Fix #40: Remove unneeded constructor parameter

0.6.2 - 2016-03-18
- Fix #37: Fix fatal error with ownCloud 9

0.6.1 - 2015-09-21
- Fix #20 and #25: Add authorization header workaround for fcgid

0.6.0 - 2015-09-18
- Fix search in ownCloud 8.1
- Fix #22 and #24: Escape slashes in tags in URLs
- Fix #28: array_shift() E_NOTICE in owncloud.log
- Move note filtering onto the SQL server
- Register app menu icon more efficiently
- Add SVG icon

0.5.1 - 2015-06-04
- Fix #19: Tabs ignored in HTML export

0.5.0 - 2015-03-17
- Implement standalone HTML mode for notes
- Implement reStrucuredText rendering for notes
- Show error page when OAuth extension is not installed
- Search is case-insensitive now

0.4.0 - 2014-10-29
- Implement note preview
- Implement note search
- Implement note download (JSON + XML)
- Add note modification date display to list
- Add highlighting of current notebook in list
- Add custom icon

0.3.0 - 2014-10-14
- Implement token management
- Implement database management (reset)
- Add computer name input field on authorization page
- Use transactions during sync

0.2.1 - 2014-10-03
- Fix bug #8: Titled blank notes cause SQL error

0.2.0 - 2014-09-27
- PostgreSQL works
- Tomdroid sync works
- New access token overview page

0.1.0 - 2014-09-26
- Sync works between tomboy and conboy.
- Tomdroid does not yet work.




LicenseAGPL
All Versions
Send to a friend
Subscribe
Other  Apps  from cweiske
Report inappropriate content

. . ..


goto page: prev   1  2  3  4  5 

-
.

 a few clarifications...

 
 by papaiso on: Oct 14 2014
 
Score 70%

Congratulation for the great initiative...

The module works quite well but I have a few questions...

1) Is there a way to clear up the database and start over (from the web GUI)? I had to execute the delete function via the sqlite client to clear the 3 tables involved.

2) Is there a way to permanently delete a note? When I delete a note on my PC, the next time my PC sync with owncloud, that note comes back.

3) I am not clear if notes are supposed to be editable also via the web interface (owncloud). I am asking because they appear as hyperlinks but when I click on them nothing happens.... same for the tokens. (I use firefox on ubuntu 12.04)

4) The module is great. I use it to sync notes between a few desktops, notebooks, tablets and my smartphone, however every times these devices sync I have a lot of duplicates... is there a way to avoid this?

5) Is there a way (a log file for instance) to know what is causing sync to stop? I have 284 notes and sync stop at 117. Tomboy says "Failed to sync... check the details below..." but below... there is only a list of notes that sync succesfully.

Thanks in advance for your help


Reply to this

-

 Re: a few clarifications...

 
 by cweiske on: Oct 14 2014
 
Score 50%

> 1) Is there a way to clear up the database and start over (from the web GUI)? I had to execute the delete function via the sqlite client to clear the 3 tables involved.

Currently not. I'll keep this in mind and add it later.

> 2) Is there a way to permanently delete a note? When I delete a note on my PC, the next time my PC sync with owncloud, that note comes back.

This should not happen. When a full sync worked, notes deleted on the PC are also deleted on the server.

If notes are coming back, then the sync did not complete successfully.

> 3) I am not clear if notes are supposed to be editable also via the web interface (owncloud). I am asking because they appear as hyperlinks but when I click on them nothing happens.... same for the tokens.

Token editability will be available with release 0.3.0, note editing is currently not planned. It is planned to at least view notes in version 0.4.0.

> however every times these devices sync I have a lot of duplicates... is there a way to avoid this?

There seems to be an error during sync which causes the problems.

> 5) Is there a way (a log file for instance) to know what is causing sync to stop? I have 284 notes and sync stop at 117.

Owncloud has an own log file in owncloud/data/owncloud.log - look in there.

Previous sync problems did log SQL errors in this log. If you find some, please open an issue on github (the "issue tracker" link on this page).


Reply to this

-

 Re: Re: a few clarifications...

 
 by papaiso on: Oct 14 2014
 
Score 50%

I cleaned up my notes one by one, but I am still having problem syncing

owncloud log says...


{"reqId":"543d40cc8eb84","app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/appframework\/$
{"reqId":"543d41c712880","app":"PHP","message":"Argument 1 passed to OCA\\Grauphel\\Lib\\TokenStorage::store() must be an instance of OCA\\Grauphel\\Lib\\OAu$
{"reqId":"543d41c7aed3c","app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/appframework\/$
{"reqId":"543d41c7aed3c","app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/appframework\/$
{"reqId":"543d41c7aed3c","app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/appframework\/$
{"reqId":"543d41cb6ab7f","app":"PHP","message":"Argument 1 passed to OCA\\Grauphel\\Lib\\TokenStorage::store() must be an instance of OCA\\Grauphel\\Lib\\OAu$
{"reqId":"543d41cbe54c3","app":"PHP","message":"Argument 1 passed to OCA\\Grauphel\\Lib\\TokenStorage::store() must be an instance of OCA\\Grauphel\\Lib\\OAu$
{"reqId":"543d41e0c1c0f","app":"index","message":"Doctrine\\DBAL\\DBALException: An exception occurred while executing 'INSERT INTO \"oc_grauphel_notes\" (\"$
{"reqId":"543d42171e905","app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/appframework\/$

... any clue?


Reply to this

-

 Re: Re: Re: a few clarifications...

 
 by cweiske on: Oct 14 2014
 
Score 50%

Please open an issue on the bug tracker and attach the full log file (or a link to a pastebin url that contains the full log file)

Alternatively, send the log file to my email address (see readme on github)


Reply to this

-

 No authentication method presented.

 
 by davidmyers on: Nov 3 2014
 
Score 50%
davidmyersdavidmyers
access for members of local clubs /

Hi I'm not sure where my problem lies.
I have tomdroid on my android device and your app on my owncloud server.
Everything seems to be working OK but I can't autheticate.
From my device I don't even get asked for credentials.
What is the best way to work with this?
should I create a link into the directory I share my documents in, and put my tomboy notes there, then sync this to my SD card on my phone / tablette using the owncloud app ?
Or should I be able to sync directly to the /grauphel/ directory ?
Do I have an error in tombdroid as it doesn't ask for login credentials when trying to connect, or should it be included in the connection URL (maybe not good for security).
Any pointers for where to look.


Reply to this

-

 Re: No authentication method presented.

 
 by cweiske on: Nov 3 2014
 
Score 50%

Please look at the video on my blog post about grauphel: http://cweiske.de/tagebuch/grauphel.htm
It shows how to setup tomdroid.

Note that grauphel stores the notes in the database, and not as files that you can sync with the owncloud file sync app.


Reply to this

-

 Re: Re: No authentication method presented.

 
 by davidmyers on: Nov 24 2014
 
Score 63%
davidmyersdavidmyers
access for members of local clubs /

Thanks for the reply, worked fine.

Now I am able to sync my tomboy notes between android and laptop... superb.


Reply to this

-

 Cannot Sync Properly

 
 by wildkard on: Nov 26 2014
 
Score 50%

First and foremost thank you for your app.
I thought finally! i could get rid of rainy! but alas, all i have gotten as far as opening the tomboy notes page on owncloud (with no problems). the api url is valid. but when i attempt to sync from any of my clients (osx and windows, i have yet to try tomdroid) all i get is "server is not responding at this time". digging deep into each of the log files, i see it is throwing an internal server error (500). Owncloud is running on osx/php5.4. I'll post the logs later when i get home :(


Reply to this

-

 Re: Cannot Sync Properly

 
 by wildkard on: Nov 26 2014
 
Score 50%

11/27/2014 12:03:10 AM [ERROR]: Caught exception. Message: The remote server returned an error: (500) Internal Server Error.
11/27/2014 12:03:10 AM [ERROR]: Stack trace for previous exception: at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0
11/27/2014 12:03:10 AM [ERROR]: Rest of stack trace for above exception: at System.Environment.get_StackTrace()
at Tomboy.WebSync.Api.OAuth.MakeWebRequest(RequestMethod method, System.String url, System.Collections.Generic.List`1 parameters, System.String postData) in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Addins/WebSyncService/Api/OAuth.cs:line 265
at Tomboy.WebSync.Api.OAuth.WebRequest(RequestMethod method, System.String url, System.String postData) in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Addins/WebSyncService/Api/OAuth.cs:line 212
at Tomboy.WebSync.Api.OAuth.Post(System.String uri, IDictionary`2 queryParameters, System.String postValue) in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Addins/WebSyncService/Api/OAuth.cs:line 126
at Tomboy.WebSync.Api.OAuth.GetAuthorizationUrl() in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Addins/WebSyncService/Api/OAuth.cs:line 55
at Tomboy.WebSync.WebSyncPreferencesWidget.OnAuthButtonClicked(System.Object sender, System.EventArgs args) in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Addins/WebSyncService/WebSyncPreferencesWidget.cs:line 165
at System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod , System.Object , System.Object[] , System.Exception ByRef )
at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
at System.Delegate.DynamicInvokeImpl(System.Object[] args)
at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
at System.Delegate.DynamicInvoke(System.Object[] args)
at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
at Gtk.Application.gtk_main()
at Gtk.Application.Run()
at Tomboy.MacApplication.StartMainLoop() in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/MacApplication.cs:line 253
at Tomboy.Application.StartMainLoop() in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Utils.cs:line 1016
at Tomboy.Tomboy.StartTrayIcon() in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Tomboy.cs:line 196
at Tomboy.Tomboy.Main(System.String[] args) in /Users/Mahoro/Desktop/tomboy-1.9.9/Tomboy/Tomboy.cs:line 154
11/27/2014 12:03:10 AM [ERROR]: Failed to get auth URL from http://mahoro.local/index.php/apps/grauphel. Exception was: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0


Reply to this

-

 Re: Re: Cannot Sync Properly

 
 by cweiske on: Nov 26 2014
 
Score 50%

Log into owncloud, go to the grauphel page and click on "api/1.0". What do you get? Is there something in the web server logs?


Reply to this

-

 Re: Re: Re: Cannot Sync Properly

 
 by wildkard on: Nov 27 2014
 
Score 50%

i get a valid json string. :( i tried killing all firewalls and proxies (i run a complicated home network) still no dice. I had a similar problem when i was trying to run snowy, but didnt happen when i ran rainy. problem is that rainy doesnt play nice with tomboy windows. Maybe something to do with osx's pre-installed version of php54? i'll paste the logs when i get home again later.
Thanks dude, you rock!


Reply to this

-
.

 good work!!!

 
 by udohase on: Nov 26 2014
 
Score 63%

first of all, thanks for your good work. i have setup owncloud and grauphel on my raspi, and it works very well. no problems at all during install.
and most of all, i was looking a long time for a solution like that, to sync my notes and todo's between my ubuntu Laptop, my phone and tablet without using a server somewhere in the US and not the control of myself.
Again.... thanks :)


Reply to this

-

 Oauth API Doc

 
 by Themantheycouldnthang on: Nov 30 2014
 
Score 50%

So,
I still haven't found a useful iOS client for grauphel/Tomboy so I decided to try and write one.
However, I am finding it pretty cumbersome to search for the correct ingredients to send for the oauth process.

is there any documentation regarding which values to pass in which context using what method to which url?

I got as far as sending a request and receive the token.
However, I cannot get the login and authorization page to display and I am afraid that even if I manage I will be stuck at the next step.

I tried to search the grauphel source code but it is not exactly intuitive to read :) (no offense, it's due to the framework of course)

So - is there any documentation for this?
I'd really appreciate!


Reply to this

-

 Re: Oauth API Doc

 
 by cweiske on: Nov 30 2014
 
Score 50%

The OAuth RFC is always helpful when trying to understand what has to happen and why: https://tools.ietf.org/html/rfc5849

You can also check an early version of grauphel which did not depend on owncloud; http://git.cweiske.de/grauphel-standalone.git/

Have a look at the www/oauth* files as well as src/grauphel/OAuth.php. If you have more questions, send me an email.


Reply to this

-

 Re: Re: Oauth API Doc

 
 by Themantheycouldnthang on: Nov 30 2014
 
Score 50%

Great, thanks!
I think I'll get along with those.


Reply to this

-

 Checkboxes in Grauphel/Tomboy?

 
 by menelic on: Dec 2 2014
 
Score 50%

Is there any way to use checkboxes as offered for example in the "Denkzettel" Android app https://play.google.com/store/apps/details?id=com.silli.notizen&hl=en ? As in where [] is transformed into clickabe checkbox? This question is more about a Tomboy core functionality but since I found discussions online http://osdir.com/ml/gnome.tomboy/2005-02/msg00033.html, but no solution. I m sure this is of interest for people who consider tomboy/Grauphel as note taking app...thanks in advance!


Reply to this

goto page: prev   1  2  3  4  5 

Add commentBack



... .

-
 
 Who we are
Contact
Register
Explore
Apps
Knowledge
People
Participate
Add App
Public API
About apps.ownCloud.com
Legal Notice
Report Abuse
 

Copyright 2011-2017 apps.ownCloud.com Team  
All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.