Giter VIP home page Giter VIP logo

notes's Introduction

Etherpad Editor

Integrates the common Etherpad-Lite online editor as Notes in Spaces.

Features

  • Collaborative editing on notes in real-time
  • See online/offline status of note users
  • Individual content colors for every note user
  • Get notifications, if users edited a note

Note: This module requires an Etherpad Lite installation.

notes's People

Contributors

andystrobel avatar basster avatar humhub-bot avatar luke- avatar marc-farre avatar rswrz avatar yurabakhtin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notes's Issues

Setup instructions missing?

Hi there,

I've installed and set up etherpad locally in the same VM as the one humhub is running on but I can't get it to work. I've followed the instructions but this is what I get so far:

screen shot 2015-01-30 at 17 25 10

I can't seem to edit the note, all I see is its empty value :-/ What am I missing here?

Javascript files references missing from head section of pages

Hello!

Im having some difficulty with this module. The module itself is installed, and appears to be working correctly -- Etherpad is working on its own, and the Notes module configuration page is showing that it is successfully connecting to the API.

Navigating to a notes page within a space results in a page that appears to render properly in all areas except where you would expect content to show.

After noticing that the dropdowns in the nav menu weren't working on notes-related pages, I took a look at the page source and noticed a significant difference between these pages and others within HumHub.

Notes-related pages:

    <!-- start: Meta -->
    <meta charset="utf-8">
    <title>SITE-TITLE</title>
    <!-- end: Meta -->

Other pages:

    <!-- start: Meta -->
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="/assets/3a39f9a6/jquery.atwho.css" />
<link rel="stylesheet" type="text/css" href="/assets/a8f0f84/mail.css" />
<link rel="stylesheet" type="text/css" href="/assets/2a5e6a63/linklist.css" />
<script type="text/javascript" src="/assets/a45496b6/jquery.js"></script>
<script type="text/javascript" src="/assets/3a39f9a6/jquery.caret.min.js"></script>
<script type="text/javascript" src="/assets/3a39f9a6/jquery.atwho.min.js"></script>
<script type="text/javascript" src="/assets/2a5e6a63/fileuploader.js"></script>
<script type="text/javascript" src="/assets/a8f0f84/mail.js"></script>
<script type="text/javascript" src="/assets/2a5e6a63/spacechooser.js"></script>
<script type="text/javascript" src="/assets/2a5e6a63/linklist.js"></script>
<script type="text/javascript" src="/assets/2a5e6a63/searchmenu.js"></script>
<script type="text/javascript" src="/assets/2a5e6a63/spaceHeaderImageUpload.js"></script>
<script type="text/javascript" src="/assets/a8f0f84/activies.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
 $.ajaxSetup({
            data: {"CSRF_TOKEN": "API-KEY-HERE"},
            cache:false
            });
/*]]>*/
</script>
<title>SITE-TITLE</title>
    <!-- end: Meta -->

In addition, Chrome's console is logging a "$ or jQuery is not defined" message for all other JS references on the notes-related pages that depend on jQuery, so it looks like HEAD section of pages related to the module is missing quite a bit. Any ideas?

Thanks!

Better mobile layout

Currently on a small screen, the Notes app can be unusable
It would be better to have a clean mobile layout to address this
Fullscreen button #18 may also help

See 'Note' in Fullscreen

Hi,

I'm not very used to using git and github, so please pardon my french (that I am by the way, so please excuse my english).

Well, I dit notice that the 'Fullscreen' option was missing was missing when editing a pad, so I added some custom code to allow it.

I uploaded a Fork with a branch "fullscreen" if you wanna see the modified code.

Nota : I have also change the name Note to Pad (because it pleased me better) and other little things, but, bad habit, I haven't done a separate commit for all of these ... sorry it'll be messy ...

Thanks

Adrien Lasserre

Notes-Overview shows only the last two Notes

Hello,
First of all: Thanks for your great work!

I have one small bug to report:
When opening the overview of notes in a space, only the last two notes are shown. To see older notes one must choose "Notes" in Filter -> Content-Type (as I'm not using the English version of HumHub, the actual wording might be slightly different). I would suggest to show directly all notes of a space or at least set up a button with a "more"-functionality.

Once again, thanks for your work!

Unable to resolve the request "notes/noteconfig/index"

After I installed humhub and confirmed it works correctly, I installed etherpad-lite. When I installed etherpad-notes module, I got this error message:Unable to resolve the request "notes/noteconfig/index"
What should I do?

Allow notes module in user profile

We are commonly asked for users to be able to use the notes module in their personal user profile, as well as spaces.

Please make that possible to enable.

It is common to want to keep work or personal notes that are only visible to the User!

Error opening the note

I can create a note. But I can't open it, it returns the following error:

yii\base\UnknownMethodException: Calling unknown method: humhub\modules\content\models\Content::canRead() in /var/www/humhub/protected/vendor/yiisoft/yii2/base/Component.php:300 Stack trace: #0 /var/www/humhub/protected/modules/notes/controllers/NoteController.php(74): yii\base\Component->__call('canRead', Array) #1 [internal function]: humhub\modules\notes\controllers\NoteController->actionOpen() #2 /var/www/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #3 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #4 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('open', Array) #5 /var/www/humhub/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('notes/note/open', Array) #6 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request)) #7 /var/www/humhub/index.php(25): yii\base\Application->run() #8 {main}

Accessing Etherpad through humhub - Access Denied

I activated etherpad on the same machine for humhub via plugin. I setup the etherpad and used the API.key to connect the etherpad server. As soon i like to open an pad i receive an authentication failure due i am not elegible to access this pad. The log shows this part information:

Authentication try failed:{"component":"pad","type":"CLIENT_READY","padId":"g.VpGxYdSwYMvM256B$f63205bd-f1bf-487e-a3ae-950682e67fae_9","sessionID":"null","password":null,"token":"t.IfScFrsqbA6g5kIbqDuY","protocolVersion":2}

the etherpad can be acessed over the listener ip directly and i can open and write in etherpad notes. as soon i like to open a pad through humhub i receive the error. The humhub is reached outside of an url domain.bla.blub/ and the humhub passess the iframe to the local listened IP of the etherpad server http://127.0.0.1:9001

so i guess i am always not elegible to open the etherpad through humhub due the reason i do reach the humhub through domain name and it does not passess it to etherpad???

Ordered list starts at 1 in preview

Hi folks,

I stumbled upon a bug that in notes preview an ordered list always starts with 1. When I open the etherpad, the numbering is correct. See the following screenshot:
humhub

Thanks for your work!

Change note title

Currently, it's not possible to change the title of a note, neither in the Etherpad view nor the notes list or in the stream of HumHub. It would be great to be able to do that.

API Key wont link

Hi Luke
Thanks for your work on this module.

After installed and test etherpad lite - I try to put my api key generated after the install but humhub say "Can't connect to API".
Where I can find more information logs to give you more details about my issue ?
Do you have a tricks ?

I setup etherpad lite on the same machine ubuntu 14.04 with humhub ( nginx + ssl + mariaDb + Nodejs ppa ).

Best regards
Bankaiiii

Konnte den Request "notes/noteconfig/index" nicht auflösen.

Protokollierung:
Error ... exception.CHttpException.404
exception 'CHttpException' with message 'Konnte den Request "notes/noteconfig/index" nicht auflösen.' in /var/www/humhub/protected/vendors/yii/web/CWebApplication.php:286 Stack trace: #0 /var/www/humhub/protected/vendors/yii/web/CWebApplication.php(141): CWebApplication->runController('notes/noteconfi...') #1 /var/www/humhub/protected/vendors/yii/base/CApplication.php(180): CWebApplication->processRequest() #2 /var/www/humhub/index.php(39): CApplication->run() #3 {main} REQUEST_URI=/index.php?r=notes/noteconfig/index ---

git clone, 2015-02-08, version Version: 0.10.1
noteconfig noteConfig

Cannot access API via https AND / OR etherpad is embedded via http instead of https (which breaks the editor)

Hi there,

I got some issue which prevent me from acutally using the notes module in combination with etherpad.

My setup:
HumHub 1.3.9 up and running on a debian stretch server via apache on port 80 / plain http.
I've got a reverse proxy set up with SSL/TLS which is securing the transport to the outside while proxying the unsecured http-datastream on the inside.

On the same server, etherpad is running (current master from GitHub) and working with a MySQL-Setup. It listens on the default port 9001 (SSL disabled, so that "internally" everything is plain http) and if accessed directly from within the network over http works just fine.

I followed the provided instructions from the module docs-folder very closely, added the rewrite rules to the apache conf and set up the apache reverse proxy part of the configuration.

If I access etherpad from the outside via https://HumHub-URL/pad/ it just works.

But when I activate the Notes Module and configure it, I have to enter the URL with http instead of https, as the "internal" communication between HumHub and Etherpad is of course "unsecure".

Now, as soon as one creates a new note and clicks on the edit button (in a modern browser), the default note is shown but absolutely no edit-elements are there. You cannot do anything.

When accessed with the IE (just for testing, i promise ;) ) I see the problem: IE warns about mixed / unsecure content, which shows me that even if I requested the site from the outside, so that my request was https:// and the reverse proxy in front of the webserver "translated" it correctly, the embedded etherpad somehow still gets delivered with http:// instead of https:// (and modern browsers just block that stuff, with only the IE at least showing some message).
As IE does give you the option to also load the unsecure content, the editor loads in and all works well.

I already tried running etherpad internally with SSL support by editing its settings.json and verifying that it does SSL (systemctl status etherpad and accessing it via https directly from an internasystem), in hope that I could bring HumHub to load etherpad via https, but to no avail. I couldn't even get the module API configuration to accept the URL with a https in front of it - even when etherpad definitely listens on port 9001 with SSL enabled (verified as mentioned above) i had to enter the URL with a plain http:// (without the s) to successfully connect to the API...

Any help / thought would be appreciated. Thanks in advance. :)

Uninstall cause server error

Hi,
Humhub break down when I uninstall this module, and telling me it can not find the notes.
I wander is there any file store the list of installed modules ? Same error is found on module wiki.

thanks in advance.

InvalidArgumentException

Hi,
Excuse me, please let me report an error.
I met an error on note open every time.

Debug page says:

InvalidArgumentException
[] is not a valid API key

  1. humhub\protected\modules\notes\libs\EtherpadLiteClient.php at line 25
  2. humhub\protected\modules\notes\libs\EtherpadHelper.php at line 64
  3. humhub\protected\modules\notes\controllers\NoteController.php at line 83
  4. humhub\modules\notes\controllers\NoteController::actionOpen()

May this issue contribute to your development. Thank you.

Bug: No space allowed in tables

Hi!
When I create a table and then write into a cell, there are no spaces allowed (space gets deleted right after typing). The only option is to type the following character first, then insert space after. For example type "cell1", then go back and insert space to create "cell 1"
Thanks!

Error: The module at "ep_etherpad-lite/static/js/pad.js" does not exist

Hi there,

I've set up everything following the instructions and I'm getting this as I try to open a note via humhub:

[2015-02-03 15:44:06.616] [WARN] message - Authentication try failed:{"component":"pad","type":"CLIENT_READY","padId":"g.RpFkMR1lodc1VsGZ$3f27eb1a-cad1-4e6d-a70d-4f5182112fd8_4","sessionID":"null","password":null,"token":"t.bIR40C3iI8FiAAyjrUqt","protocolVersion":2}
[2015-02-03 15:44:06.640] [WARN] client - Error: The module at "ep_etherpad-lite/static/js/pad.js" does not exist. -- { errorId: 'fniaGeLWzOrpvt1KPU5O',
  msg: 'Error: The module at "ep_etherpad-lite/static/js/pad.js" does not exist.',
  url: 'http://xx.xx.xx.xx:9001/p/g.RpFkMR1lodc1VsGZ$3f27eb1a-cad1-4e6d-a70d-4f5182112fd8_4?showChat=true&showLineNumbers=false&userColor=%23cebee3',
  linenumber: 588,
  userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18' }

Any ideas on how to overcome this?

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.