diff --git a/CHANGELOG.md b/CHANGELOG.md index bab2bbc..280b723 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- Photo on gift records ### Fixed - Environment variable for BVC meetings project ### Changed in DB or environment diff --git a/project.task.yaml b/project.task.yaml index fff66e0..ea7b5cc 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -2,6 +2,7 @@ tasks : - alert & stop if give amount < 0 +- onboarding video - .1 on feed, don't show "to someone anonymous" if it's to a project - .1 on ideas, put an "x" to close it @@ -14,12 +15,11 @@ tasks : - .2 list the "show more" contacts alphabetically - 32 image on give : - - ping endpoint - - limits endpoint - upload a photo from elsewhere - - go-live - create cert for new image domain, set up haproxy redirect + - go-live - create cert for new image domain, set up haproxy redirect, test-image-api.timesafari.app + - make Time Safari a share_target for images -- 08 image on profile +- 08 add image on profile - ask to detect location & record it in settings - if personal location is set, show potential local affiliations diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index f0e7bbd..5972708 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -187,7 +187,7 @@ export interface PlanData { rowid?: string; } -export interface RateLimits { +export interface EndorserRateLimits { doneClaimsThisWeek: string; doneRegistrationsThisMonth: string; maxClaimsPerWeek: string; @@ -196,6 +196,12 @@ export interface RateLimits { nextWeekBeginDateTime: string; } +export interface ImageRateLimits { + doneImagesThisWeek: string; + maxImagesPerWeek: string; + nextWeekBeginDateTime: string; +} + export interface VerifiableCredential { "@context": string; "@type": string; diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 343871b..d5272f0 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -96,7 +96,7 @@

@@ -157,28 +157,39 @@

{{ limitsMessage }}
-
-

- You have done {{ limits.doneClaimsThisWeek }} claims out of - {{ limits.maxClaimsPerWeek }} for this week. Your claims - counter resets at +

+

+ You have done + {{ endorserLimits.doneClaimsThisWeek }} claims out of + {{ endorserLimits.maxClaimsPerWeek }} for this week. Your + claims counter resets at {{ - readableTime(limits.nextWeekBeginDateTime) + readableDate(endorserLimits.nextWeekBeginDateTime) }}

-

+

You have done - {{ limits.doneRegistrationsThisMonth }} registrations out of - {{ limits.maxRegistrationsPerMonth }} for this month. + {{ endorserLimits.doneRegistrationsThisMonth }} registrations + out of {{ endorserLimits.maxRegistrationsPerMonth }} for this + month. (You can register nobody on your first day, and after that only one a day in your first month.) Your registration counter resets at - {{ readableTime(limits.nextMonthBeginDateTime) }} + {{ readableDate(endorserLimits.nextMonthBeginDateTime) }}

+

+ You have uploaded + {{ imageLimits?.doneImagesThisWeek }} images out of + {{ imageLimits?.maxImagesPerWeek }} for this week. Your image + counter resets at + {{ + readableDate(imageLimits?.nextWeekBeginDateTime) + }} +