Git Product home page Git Product logo

grauphel's Introduction

grauphel - tomboy REST server

nextCloud application implementing the Tomboy REST API for syncing notes.

Pretty stable.

  • Note synchronization
  • OAuth token management interface
  • Database management interface (reset)
  • Viewing notes
  • Searching notes
  • Downloading notes as HTML and reStructuredText
  • Web interface to edit notes. I will probably not implement this. Patches welcome :-)

grauphel 0.7.4 is known to work with:

  • Tomboy 1.15.2, Linux
  • Tomboy 1.15.1, Windows
  • Tomdroid 0.7.5, Android 4.4.1

See the HowTo document for client-specific configuration instructions.

You can use nextCloud's global search on the top right.

During search, the note's titles, tags and content are searched.

Search syntax:

foo
Search for notes containing "foo"
foo bar
Search for notes containing "foo" and "bar"
"foo bar" baz
Search for notes containing "foo bar" and "baz"
foo -bar
Search for notes containing "foo" but not "bar"

Note

grauphel needs to be activated for all users. It will not work with the "enable only for specific groups" setting.

  1. Log into nextcloud as administrator
  2. Goto "Apps"
  3. Enable experimental apps in the settings
  4. Click "Productivity"
  5. Look for "grauphel - Tomboy sync server"
  6. Click "Activate"
  1. SSH onto your web server

  2. Navigate to the nextcloud apps directory, often in /var/www/nextcloud/apps

  3. Download the latest release from http://cweiske.de/grauphel.htm#download and extract it. For example:

    $ wget http://cweiske.de/download/grauphel/grauphel-0.7.4.tar.gz
    $ tar xjvf grauphel-0.7.4.tar.gz
    $ rm grauphel-0.7.4.tar.gz
    

    You do have a directory /var/www/nextcloud/apps/grauphel now.

  4. Using your browser, login as administrator into nextCloud and click the "Apps" icon in the main menu ("+" icon).

  5. Click on "Grauphel: Tomboy note server" and then on the "Enable" button.

  6. In the main menu, click the "Tomboy notes" icon.

It may be that grauphel now shows you an error message:

PHP extension "oauth" is required

You have to install the PHP PECL oauth extension now. On Debian 9 or higher, do the following:

$ apt install php-oauth
$ phpenmod oauth
$ /etc/init.d/apache2 restart

Reload the nextCloud page in your browser now.

Note

oauth-1.2.3 is only needed on PHP 5.x For PHP 7 simply use pecl install oauth.

See grauphel downloads page for all released versions.

Christian Weiske, [email protected], http://cweiske.de/

  • JSON coming from Tomboy: Title is html-escaped already (e.g. > is >). We store it that way in the database, so there is no need to escape the output.
  • latest-sync-revision sent from Tomboy during PUT sync is already incremented by 1.

To release a new version, do the following:

  1. Increase version number in appinfo/version and appinfo/info.xml.

  2. Validate appinfo/info.xml:

    $ xmllint --noout --schema tools/info.xsd appinfo/info.xml
    
  3. Validate appinfo/database.xml:

    $ xmllint --noout --schema tools/database.xsd appinfo/database.xml
    
  4. Fill the ChangeLog file with the changes since the last release, mention the new version number.

  5. Update README.rst and increase the version number

  6. Create the grauphel release file with:

    $ phing
    

    The file will be in dist/

  7. Test the release on a server

  8. Tag the release in git

  9. Upload the release to http://cweiske.de/grauphel.htm with:

    $ cd ~/Dev/html/cweiske.de
    $ ./scripts/update-grauphel.sh
    
  10. Upload the new release on https://apps.nextcloud.com/developer/apps/releases/new

    Signature:

    $ openssl dgst -sha512 -sign ~/.nextcloud/certificates/grauphel.key dist/grauphel-0.7.4.tar.gz | openssl base64
    

grauphel's People

Contributors

cweiske avatar grosjo avatar magicfab avatar timeraider4u avatar joshp23 avatar strufkin avatar vinzv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.