Commit Graph

2294 Commits (43f862956b87a55ef62339daa6cc2a3c156e22ed)
 

Author SHA1 Message Date
Adrian Gruntkowski 43f862956b Remove unnecessary function from Invitations API 3 years ago
Adrian Gruntkowski 67b408e056 Add clarfying comment on virtual field in `Site` schema 3 years ago
Adam Rutkowski 2b8c353825 Render the change in bold 3 years ago
Adam Rutkowski 1f6e35b59d Calculate and display 24h visitors change 3 years ago
Adrian Gruntkowski f177b25908 Add LV tests for Sites 3 years ago
Adrian Gruntkowski 4a07e373ca Remove unnecessary FIXME 3 years ago
Adrian Gruntkowski 5e61614e49 Add a couple more tests to sites dead view 3 years ago
Adrian Gruntkowski adb4898a51 Add tests for `Plausible.Sites.list/3` 3 years ago
Adrian Gruntkowski 5eccf4eaf6 Remove site pins for now 3 years ago
Adrian Gruntkowski 955a71d32a Add FIXME note 3 years ago
Adrian Gruntkowski 60711ce4b5 Implement listing invitations, sites and pins in a single query 3 years ago
Adrian Gruntkowski b2c298ec68 Add `SitePin` schema 3 years ago
Adrian Gruntkowski d5627b59b6 Create `site_pins` table 3 years ago
Adam Rutkowski 801b0bc0be Remove magic numbers from the plot 3 years ago
Adam Rutkowski db6b07b2d8 Fixup 3 years ago
Adam Rutkowski 31c232ea59 Minimal tweaks to the plots 3 years ago
Adam Rutkowski 667585bc85 Fix search consuming itself 3 years ago
Adam Rutkowski 7ee7ffa78e Fix mini graph scaling factor calculation 3 years ago
Adrian Gruntkowski 4d9f1b48eb Fix styling 3 years ago
Adam Rutkowski be0cc12aaa Fix typespecs 3 years ago
Adrian Gruntkowski 736df6684f Add debounce to search filter 3 years ago
Adam Rutkowski cb5a51bae9 Replace /sites with LV implementation 3 years ago
Adam Rutkowski d9e9e04bda Test `last_24h_visitors_hourly_intervals/2` 3 years ago
Adrian Gruntkowski b5784d91a8 Improve filtering on pagination and make WSS fail graceful 3 years ago
Adam Rutkowski 4990995255 Tweak css 3 years ago
Adrian Gruntkowski 8ebc404c2d Improve pagination 3 years ago
Adrian Gruntkowski 45099984a7 Extract `site_stats` from site and invitation cards 3 years ago
Adrian Gruntkowski 04f5deb85b Implement basic pagination 3 years ago
Adrian Gruntkowski 903bcc2bcb Make linear gradient svg definition truly invisible 3 years ago
Adam Rutkowski 3bed3f4db8 Don't confuse heex compiler with alpine @ shorthands 3 years ago
Adrian Gruntkowski 77a5ecab41 Integrate batch 24h interval query with plots on sites view 3 years ago
Adam Rutkowski 078a66d805 Add function to uniformly calculate 24h intervals
and visitor totals across multiple sites.
3 years ago
Adam Rutkowski 47de7ff812 Split sites component into subcomponents 3 years ago
Adrian Gruntkowski 3571c62fc0 Fix typespec of `Plausible.Sites.list` 3 years ago
Adrian Gruntkowski f50fb44146 Move paginator helpers to the top core namespace 3 years ago
Adrian Gruntkowski 114616772b Add moduledoc to visitors component 3 years ago
Adam Rutkowski 0ec429b720 Format 3 years ago
Adam Rutkowski cb6727ef69 Fix clipping gradient, define once 3 years ago
Adrian Gruntkowski b3dc6a7ba8 Add rudimentary clipped gradient in minicharts 3 years ago
Adam Rutkowski 5d7fe64a92 PoC: plot visitors on sites index 3 years ago
Adrian Gruntkowski 0918492d48 Implement basic search capability 3 years ago
Adrian Gruntkowski d7274d4975 Reimplement everything in LV except pagination 3 years ago
Adrian Gruntkowski b14ceaad4c Implement complete basics of LV sites 3 years ago
RobertJoonas 8cc7bce689
Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461)
* fix the styling of the red text notice under checkout link

* avoid some code repetition

* simplify rendering the change_plan_link

* refactor disabling checkout link and showing disabled message

* disable change plan and upgrade link when exceeding pageview limit

* disable checkout when exceeding team member limit

* disable checkout when site limit exceeded

* extract checkout related code in a separate function

* stick to a single order of features

* losing features warning

* fix back link from change-plan-preview

* create Quota.exceeded_limits function

* restrict subscribing with exceeded limits on the API level too

* use with instead of case

Co-authored-by: Vini Brasil <vini@hey.com>

* use :map type instead of :any for user

Co-authored-by: Vini Brasil <vini@hey.com>

* create Quota.usage function

---------

Co-authored-by: Vini Brasil <vini@hey.com>
3 years ago
dependabot[bot] 0c8b3d7992
Bump postcss from 8.4.29 to 8.4.31 in /assets (#3398)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.29...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot] 7312598b4b
Bump @babel/traverse from 7.21.5 to 7.23.2 in /assets (#3431)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot] f4cbefbcb4
Bump eslint-plugin-playwright from 0.16.0 to 0.18.0 in /tracker (#3451)
Bumps [eslint-plugin-playwright](https://github.com/playwright-community/eslint-plugin-playwright) from 0.16.0 to 0.18.0.
- [Release notes](https://github.com/playwright-community/eslint-plugin-playwright/releases)
- [Changelog](https://github.com/playwright-community/eslint-plugin-playwright/blob/main/CHANGELOG.md)
- [Commits](https://github.com/playwright-community/eslint-plugin-playwright/compare/v0.16.0...v0.18.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-playwright
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Vini Brasil ad05af08a4
Check for limits and features used by site before transferring ownership (#3445)
* Simplify team_member_usage query

* Check limits before transferring ownership

* Extract invite creation to dedicated service module

* Simplify team member usage query

* Remove unnecessary distinct clause

* Delegate CreateInvitation via Memberships
3 years ago
RobertJoonas a226773da1
Legacy plans (#3455)
* replace unlisted plans with legacy plans

...and add a legacy plan that has an existing subscriber in Paddle. All
legacy plans are considered generation 1 - meaning that when a user on
one of these plans and they'll go to the upgrade page, then the listed
plans will be v1 for Growth and v3 for Business.

* remove redundant plans_sandbox function

* remove the unused 'scope' argument from Plans.find

* remove unused plan

* add basic test coverage for legacy plans

* add another plan with an existing active subscriber (fix another bug)
3 years ago
Marko Saric 9798a80a5a
Copy changes (#3460) 3 years ago