Giter Site home page Giter Site logo

Comments (17)

vitormattos avatar vitormattos commented on June 20, 2024 1

The document name in my case is document 😅
Low creativity for a decent name.

When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
| users | [{"identify":{"account":"signer1"}}] |
| name | document |

Only a curiosity about this step: The API have the possibility to set the file name but I didn't implemented that at frontend.

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024 1

Hi, I will reopen this issue and do a best check.

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024 1

This is fixed for me in v8.0.0-rc9.

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

Tested in LibreSign 8.0.0-rc7 running on Nextcloud 28.0.2.

I logged in as the regular user, went to Settings > Notifications, and turned on the new "You have a file to sign" notfication:
image

Logging into Nextcloud as the admin user, I requested a signature from the regular user and waited for a notification to arrive via email. After a few minutes, this email arrived:
image

Although the email did arrive, it did not contain the information that I expected. As you can see, the email only says that "There was some activity at Nextcloud". At minimum, I expected the email to indicate that the activity that I am being notified about is that there is a new file to sign, and indicate what the name of the file is. It would also be great if there was a button that took the user to the file, but that is not strictly necessary.

In general, I would expect the notification email to either look like all the other activity notification emails that are sent by Nextcloud, or like the existing notification emails that LibreSign sends when a signature is requested from an email address

Here are some mockups:

Mock-up: LibreSign notification modeled on other activity notifications. (This is my preferred solution, since it integrates with with activity notifications the user is already receiving.)
image

Mock-up: LibreSign notification modeled on existing LibreSign emails.
Screenshot from 2024-03-08 16-06-34

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

Looking more closely at the emails, it appears that you might have already been attempting to use the standard activity emails, as in the first mock-up above. However, it looks like the activity didn't properly register.

In case it is important, I will point out that LibreSign did not add an activity notification in the Activities app either:
image

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

I reopened this issue to check more.

In my environment I'm receiving this email:

Screenshot_20240308_182247

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

I just shared a file to see if I could get Files to generate an activity email, and everything seems to be working as expected outside of LibreSign:
image

I just checked, and the string "libresign" does not appear in nextcloud.log.

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

Is working to me:

Screenshot_20240308_182928

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

Let me turn off SELinux, reboot, and try again.

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

Did you enabled here? The last option.

Screenshot_20240308_183154

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

Yes, the "You have a file to sign" activity is turned ON:
image

I have turned off SELinux and rebooted:

[ceperry@newton ~]$ sestatus
SELinux status:                 disabled

I uploaded a new document and requested a signature on the document. My next notification email showed the files activity of uploading the file, but there was no activity from LibreSign:
image

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

Not related about email, but I identified that Activity app have a class called Filter to be possible display the activities at Activity app. I'm implementing this now, maybe will help to check if you are receiving the notifications.

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

@DazeEnd could you check if is ok looking the screenshots here #2509 ?
I will wait your review to don't send new words to translators because this PR changed and created texts.

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

@vitormattos Sorry for the delay in getting back to you. The screenshots look good to me.

The notifications include the message, "admin requested your signature on document." In this message, will "document" be replaced with the name of the file? For example, "admin requested your signature on Perry Contract.pdf"? If yes, then it's fine.

However, if "document" will not be replaced, and it will always read "[username] requested your signature on document", then I think it should be slightly reworded to say "[username] requested your signature on a document".

from libresign.

DazeEnd avatar DazeEnd commented on June 20, 2024

Testing on RC8, this problem seems to be mostly fixed, but not completely fixed.

When I request a signature from a user with a Nextcloud account, the user whose signature was requested receives the following notifications:

  1. The user immediately receives an email informing him that his signature has been requested. (See "Screenshot 1", below.)
  2. The user later receives an activity email notifying the user that LibreSign made changes to a document. (See "Screenshot 2", below.)
  3. The user has an activity posted in the Activity app, saying that the requesting user made changes to a document. (See "Screenshot 3", below.)

What still seems to be missing is an activity indicating that someone "requested your signature" on the document, as illustrated in screenshots in #2509. (See "Screenshots from Issue 2509", below.)

Screenshot 1:
image

Screenshot 2:
image

Screenshot 3:
Screenshot from 2024-03-18 16-50-51

Screenshots from Issue 2509:
image
image
image

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

Fixed by:

from libresign.

vitormattos avatar vitormattos commented on June 20, 2024

Fixed at: https://github.com/LibreSign/libresign/releases/download/v8.0.0-rc9/libresign-v8.0.0-rc9.tar.gz

from libresign.

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.