8000 fix cron not deleting transfers of the same day by Veredior · Pull Request #50 · filesender/filesender · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix cron not deleting transfers of the same day #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 2, 2018
Merged

fix cron not deleting transfers of the same day #50

merged 5 commits into from
Sep 2, 2018

Conversation

Veredior
Copy link
Contributor

We have users who can see transfers on "Currently available transfers" panel even if the transfer expired on the same day.
The cause is related to the EXPIRED request called by the cron which doesn't include the same day.

@jornane
Copy link
Contributor
jornane commented Apr 12, 2017

I'm not really sure what this does, but my assumption is that this changes the behaviour of FileSender to interpret the expire date as «unavailable from» instead of «unavailable after»

Does this sound reasonable?

@Veredior
Copy link
Contributor Author

The problem is the application has 2 behaviours for checking if a transfer is expired :

  • the checks when a guest tries to access a transfer which expired on the same day.
  • the cron deletes only the transfers before the day of execution.

I'm not sure if it's understandable.

@monkeyiq
Copy link
Contributor
monkeyiq commented Jul 3, 2018

Is this still an issue, if so I will schedule a look see and merging.

@fransward
Copy link

Related to issue #357 ?
#357

@monkeyiq monkeyiq merged commit 1653888 into filesender:master Sep 2, 2018
@Veredior Veredior deleted the fix-cron-expired-date branch September 4, 2018 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0