Giter Site home page Giter Site logo

Comments (7)

AndyScherzinger avatar AndyScherzinger commented on May 13, 2024

@nickvergessen @juliushaertl can you provide @desperateCoder with some hints how he can retrieve the activity items for a single card from the server? Thanks ❤️

from nextcloud-deck.

desperateCoder avatar desperateCoder commented on May 13, 2024

@juliushaertl, @nickvergessen would be great, thanks! ❤️

from nextcloud-deck.

AndyScherzinger avatar AndyScherzinger commented on May 13, 2024

And also how we can post comments 😃

from nextcloud-deck.

juliushaertl avatar juliushaertl commented on May 13, 2024

For activity you can find some documentation here: https://github.com/nextcloud/activity/blob/master/docs/endpoint-v2.md

You can request the activity for a board with the object type deck_board and for a card with deck_card. The objectId is then the board or card id.

Comments: nextcloud/server#7315 (comment)
objectType: deckCard
objectId: the card id

from nextcloud-deck.

desperateCoder avatar desperateCoder commented on May 13, 2024

Thanks @juliushaertl!

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 13, 2024

SyncManager.syncActivitiesForCard throws NullPointerException:

2019-09-26 21:24:09.500 4321-4321/it.niedermann.nextcloud.deck E/AndroidRuntime: FATAL EXCEPTION: main
    Process: it.niedermann.nextcloud.deck, PID: 4321
    java.lang.NullPointerException: Attempt to invoke virtual method 'void it.niedermann.nextcloud.deck.api.IResponseCallback.onError(java.lang.Throwable)' on a null object reference
        at it.niedermann.nextcloud.deck.persistence.sync.helpers.SyncHelper$1.onError(SyncHelper.java:72)
        at it.niedermann.nextcloud.deck.api.RequestHelper$ResponseConsumer$1.lambda$accept$0$RequestHelper$ResponseConsumer$1(RequestHelper.java:46)
        at it.niedermann.nextcloud.deck.api.-$$Lambda$RequestHelper$ResponseConsumer$1$pdGUKOypjSaz8W9wp-deyLX5HGQ.run(Unknown Source:4)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6669)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

from nextcloud-deck.

desperateCoder avatar desperateCoder commented on May 13, 2024

@stefan-niedermann are we done with this? close?

from nextcloud-deck.

Related Issues (20)

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.