Git Product home page Git Product logo

journal's People

Contributors

cbix avatar scrutinizer-auto-fixer avatar stefanbruens avatar tanghus avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

journal's Issues

Quote marks are escaped

If the subject or the body of a journal entry contains quote marks, they will be escaped (\') when the entry is viewed again. This happens in both edit modes.

Tested under ownCloud 4.5.6 and Journal 0.2.

ownCloud 4.5.3 - entries never shown in calendar or on calDav

Hi :)

in the newest version of ownCloud 4.5.3 journal doesn't work correctly. The entries are not shown in the calendar or on calDav (on iPhone momories). There are many reports in the log:

Debug journal **/cloud/apps/journal/ajax/saveproperty.php. Line: 50: cid: 3
Debug journal */cloud/apps/journal/ajax/saveproperty.php. Line: 50: type: DESCRIPTION
Debug journal *
/cloud/apps/journal/ajax/saveproperty.php. Line: 50: parameters: Array ( [FORMAT] => TEXT )
Debug journal */cloud/apps/journal/ajax/saveproperty.php. Line: 50: value: Test, test, test, test, test, test
Debug contacts OC_Calendar_App::getEventObject id: 12, permissions: 31
Debug journal *
/cloud/apps/journal/ajax/saveproperty.php. Line: 65: saveproperty: DESCRIPTION: Test, test, test, test, test, test
Debug journal *
*/cloud/apps/journal/ajax/saveproperty.php. Line: 50: id: 13
[...]

Greetings

Storing journal entries fails because of database changes

Journal doesn't work with latest OwnCloud versions because the name of the calendar table has been changed from "oc_calendar_objects" to "oc_clndr_objects".

Error Log:

Fatal PHP SQLSTATE[HY000]: General error: 1 no such table: oc_calendar_objects at /var/www/virtual/xxxxx/html/cloud/lib/db.php#391

So, storing journal entries doesn't work.

ownCloud 5.0.9
Journal 0.3.2
PHP 5.4.11

Sincerely,
AlfredSK

Not able to save journal entries

I am having an issue adding more than one journal entry. When I hit the add button I am seeing errors in the java counsel on my client machine. I also see a warning when I click on the Journal app

When I first open the Journal app :

event.returnValue is deprecated. Please use the standard event.preventDefault() instead. core.js?v=74b4d273507a7e0eba857955bd45b2cf:50

When I click the add button to add a journal line I get the following:

Uncaught Error: Syntax error, unrecognized expression: #entries lidata-id="1" core.js?v=74b4d273507a7e0eba857955bd45b2cf:17
at.error core.js?v=74b4d273507a7e0eba857955bd45b2cf:17
bt core.js?v=74b4d273507a7e0eba857955bd45b2cf:23
At core.js?v=74b4d273507a7e0eba857955bd45b2cf:25
at core.js?v=74b4d273507a7e0eba857955bd45b2cf:11
x.fn.extend.find core.js?v=74b4d273507a7e0eba857955bd45b2cf:54
x.fn.x.init core.js?v=74b4d273507a7e0eba857955bd45b2cf:2
e.fn.init core.js?v=74b4d273507a7e0eba857955bd45b2cf:97
x core.js?v=74b4d273507a7e0eba857955bd45b2cf:1
OC.Journal.Entry.add journal.js?v=74b4d273507a7e0eba857955bd45b2cf:209
(anonymous function) journal.js?v=74b4d273507a7e0eba857955bd45b2cf:633
x.event.dispatch core.js?v=74b4d273507a7e0eba857955bd45b2cf:47
v.handle core.js?v=74b4d273507a7e0eba857955bd45b2cf:43

I now have noticed that I get another error on EVERY page. I noticed this error originally when I loaded TAL but now after I have disabled and deleted TAL the error does not go away. I wonder if this has something to do with the errors I see in the Journal app:

Content Security Policy: The page's settings blocked the loading of a resource: An attempt to execute inline scripts has been blocked

Please tag upcoming releases

would you please tag the upcoming release of journal/tal.

Its cleaner and people are able to depend on stable versions.

Fatal error with OC7 git version

When I enable TAL, I am receiving the following error:

Fatal error: Cannot redeclare non static OCP\Template::$app as static OCA\TAL\Template::$app in /var/www/owncloud/apps/tal/lib/taltemplate.php on line 15

Is there any workaround?

blank screen in owncloud 6.0.3

I have installed the latest journal and tal from git on owncloud 6.0.3 (installed from tar on debian wheezy).
When I browse to journal, the page shows as blank and I get an error in the logs:

{"app":"PHP","message":"Interface 'PHPTAL_TranslationService' not found at /var/www/owncloud/apps/tal/lib/tall10n.php#13","level":3,"time":"2014-04-30T07:35:17+00:00"}

it also stops /settings/admin from loading with the same error, looks like this may be an incompatability between tal and 6.0.3

Bug: HTML Editor: "You selected: undefined", no link inserted.

In the the WYSIWYG editor, the insert link function does not work.

When first highlighting the link text, receiving a "You selected: undefined" message.

After entering the URL in the dialog box and clicking OK, nothing happens (assuming this is directly related to the above message).

Journal text disappears after switching edit mode

Reproduce bug:

  1. Open a journal entry.
  2. Switch from nice text edit mode to plain edit mode.
  3. Do some changes.
  4. Switch to some other app (Files for example)
  5. Go back to Journal app.

The journal entry is still there. Title is unchanged but all the
text in the entry is missing.

OC version: 5.0.0
TAL: 0.2.1
Jounal: 0.3.1

SQL error with PostgreSQL

When OC is run with PostgreSQL ad database, journal yields a fatal error.
The cause of the error is line 38 in lib/vjournal.php. The string "VJOURNAL" should be 'VJOURNAL' (single quotes).

Fix is trivial: change line 38
$stmt = \OCP\DB::prepare('SELECT * FROM _PREFIX_clndr_objects WHERE calendarid = ? AND objecttype = "VJOURNAL"');

to
$stmt = \OCP\DB::prepare('SELECT * FROM _PREFIX_clndr_objects WHERE calendarid = ? AND objecttype = 'VJOURNAL'');

Doesn't work with OC 8.0.2

I installed tal, but after the install I can't browse to the admin page on oc. The page is blank.
And when I browse to the journal, I reject to the "files" page.

Manually changing entry date fails

Setting the date of an entry manually to a different date than the current date is not saved properly.

oc-version: 6.0.3 (stable)
journal-version: 0.4.1

When I add a new entry and try to set the date to some other date and time in the past this change is not saved properly. The next time I reload the page the entry shows its date and time of creation again.
Also it is not possible to save entries without time and date only. Unchecking "include time" seems to be ignored and current time is saved.

Same issue when I try to edit date & time of an entry that was created earlier.

Let me know if I can supply further debug information.

Action icons are not shown properly

In Journal 0.2.1 with ownCloud 4.5.6, the action icons are not shown properly. The links are displayed as: /%webroot%/core/img/actions/delete.svg, where %webroot% is not processed properly.

Problems width shared journal entry

Two comments:

  1. When trying to share Journal entry, then user list is not seen. Its hidden under Journal main window.

  2. If someone share news and some one else edit this news, then original user cannot seen this anymore.

User John create new entry and share this to user Jack. User Jack can see entry. When he tick Edit, then he can edit and for saving he have to choose his own calendar.

After that John cannot see his own entry anymore. It is disappear from John's Journal list.

Buggy Journal When An Entry is Deleted

I currently use ownCloud 4.5.6 and Journal 0.2. When I installed the platform, I added an experiential user and Journal worked as expected: both users could have their private journals and they could also share with the each others.

When I added more users (20+), it started to act weird: users can still write journals, both private and shared, but once they refresh the page, the journals disappear. The first user (the administrator), however, can still see the shared journals even though the original author can no longer do so!

My ownCloud instance is pretty much experiential. I can grant access to a developer who is interested in investigating the issue.

Warning in apache log

Just trying your app and found the following in the logs:

[Tue Jul 24 14:03:28 2012] [error] [client 192.168.178.11] PHP Notice:  Undefined variable: cid in /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php on line 143, referer: https://owncloud.felixmoeller.de/?app=journal
[Tue Jul 24 14:03:48 2012] [error] [client 192.168.178.11] trace: Array\n(\n    [0] => Array\n        (\n            [file] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n            [line] => 34\n            [function] => debug\n            [args] => Array\n                (\n                    [0] => id: 3\n                )\n\n        )\n\n    [1] => Array\n        (\n            [file] => /DataVolume/software/owncloud/lib/base.php\n            [line] => 259\n            [args] => Array\n                (\n                    [0] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n                )\n\n            [function] => require_once\n        )\n\n    [2] => Array\n        (\n            [file] => /DataVolume/software/owncloud/index.php\n            [line] => 66\n            [function] => loadfile\n            [class] => OC\n            [type] => ::\n            [args] => Array\n                (\n                )\n\n        )\n\n)\n, referer: https://owncloud.felixmoeller.de/?app=journal
[Tue Jul 24 14:03:48 2012] [error] [client 192.168.178.11] trace: Array\n(\n    [0] => Array\n        (\n            [file] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n            [line] => 34\n            [function] => debug\n            [args] => Array\n                (\n                    [0] => type: ORGANIZER\n                )\n\n        )\n\n    [1] => Array\n        (\n            [file] => /DataVolume/software/owncloud/lib/base.php\n            [line] => 259\n            [args] => Array\n                (\n                    [0] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n                )\n\n            [function] => require_once\n        )\n\n    [2] => Array\n        (\n            [file] => /DataVolume/software/owncloud/index.php\n            [line] => 66\n            [function] => loadfile\n            [class] => OC\n            [type] => ::\n            [args] => Array\n                (\n                )\n\n        )\n\n)\n, referer: https://owncloud.felixmoeller.de/?app=journal
[Tue Jul 24 14:03:48 2012] [error] [client 192.168.178.11] trace: Array\n(\n    [0] => Array\n        (\n            [file] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n            [line] => 34\n            [function] => debug\n            [args] => Array\n                (\n                    [0] => value: fmms\n                )\n\n        )\n\n    [1] => Array\n        (\n            [file] => /DataVolume/software/owncloud/lib/base.php\n            [line] => 259\n            [args] => Array\n                (\n                    [0] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n                )\n\n            [function] => require_once\n        )\n\n    [2] => Array\n        (\n            [file] => /DataVolume/software/owncloud/index.php\n            [line] => 66\n            [function] => loadfile\n            [class] => OC\n            [type] => ::\n            [args] => Array\n                (\n                )\n\n        )\n\n)\n, referer: https://owncloud.felixmoeller.de/?app=journal
[Tue Jul 24 14:03:48 2012] [error] [client 192.168.178.11] trace: Array\n(\n    [0] => Array\n        (\n            [file] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n            [line] => 47\n            [function] => debug\n            [args] => Array\n                (\n                    [0] => saveproperty: ORGANIZER: fmms\n                )\n\n        )\n\n    [1] => Array\n        (\n            [file] => /DataVolume/software/owncloud/lib/base.php\n            [line] => 259\n            [args] => Array\n                (\n                    [0] => /DataVolume/software/owncloud/apps/journal/ajax/saveproperty.php\n                )\n\n            [function] => require_once\n        )\n\n    [2] => Array\n        (\n            [file] => /DataVolume/software/owncloud/index.php\n            [line] => 66\n            [function] => loadfile\n            [class] => OC\n            [type] => ::\n            [args] => Array\n                (\n                )\n\n        )\n\n)\n, referer: https://owncloud.felixmoeller.de/?app=journal

Great work, look really promising!

Class 'OC_Calendar_App' not found in apps/journal/index.php on line 39"

1st time setting up journal here and seems like a no go so far, investigating further ...

tal version : commit 0a124b28e0ca325b842ec36dacecc3dc141a86a6
journal version: commit 3673f75

2013/02/08 10:34:38 [error] 1277#0: *729 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.122.1, server: cloudz.testserver.com, request: "GET /favicon.ico?app=journal HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloudz.testserver.com"
2013/02/08 10:37:00 [error] 3315#0: *7 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'OC_Calendar_App' not found in /var/www/owncloud/apps/journal/index.php on line 39" while reading response header from upstream, client: 192.168.122.1, server: cloudz.testserver.com, request: "GET /?app=journal HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloudz.testserver.com", referrer: "http://cloudz.testserver.com/"

Request: Include a save/last saved indicator

Requesting a save/last saved indicator hooked into the auto-save feature.

Long journal entries can be problematic if connection to OwnCloud backend drops or times out while editing.

Fatal error if TAL ... app isn't enabled and clicking on the provided "Enable" link

All this is on OC 5.0.11 with the apps provided therein (Journal 0.3.2, TAL ... 0.2.2)

Steps to reproduce

  1. Go to apps section
  2. Make sure "TAL Page Templates for ownCloud" is not enabled
  3. Enable Journal app
  4. Navigate to Journal app via sidebar
  5. Journal app will tell you "The TAL Page Templates app isn't enabled! Please enable it here: Enable TAL Page Templates app"
  6. Click on "Enable TAL Page Templates app"

Result: You get a page with this message:

Fatal error: Class 'OC_Util' not found in /www/owncloud/settings/apps.php on line 24 

Environment:

OC 5.0.11 on Ubuntu 12.04
PHP 5.4.13
Apache 2.2.22
MySQL 14.14 Distrib 5.5.32

Workaround

Easy of course, just go to Apps and enable the "TAL Page Templates for ownCloud"!

Insert images to posts

Can you add a future that user will ne able to atach picture from his ownClowd drive to the journal's post? That will make your app really cool!

Cannot get "Journal" to work on owncloud 4.5 .. screenshots attached!

Create-Journal-Entry
After-Inclusion-of-Time
After-Clicking-at-the-Entry-left
mysql-storage

Hi,
here is my problem: I cannot type in any Events into journal. Summary is possible if I click into the input field, but then I have to enable the "edit" checkbox, and nothing happens anymore (no etry field for text appears), either the summary (that means the "Title") nor the date is stored in the database (screenshot too!). I use Chromium, and Firefox, they have the same behaviour. Journal.js gets an error that jsondata is empty (also on the screenshots).

Not compatible with ownCloud 7

It seems that both Journal and TAL Page Templates are not compatible with ownCloud 7. I hope this is updated so that we can all enjoy the app! Are there others users experiencing compatibility issues and is this known?

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.