-
Notifications
You must be signed in to change notification settings - Fork 3
Add changes to billing plans #623
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
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
aaa5f91
add dialog for workspace creation
nikochiko 317280f
fix error msg display in step1 of workspace-creation dialog
nikochiko b4eb2db
fix: ui layout for workspace creation step 2
nikochiko 1480512
fix: remove assignment for form_div, make handle name input grow insi…
nikochiko b381040
better error handling for invalid emails, only use set_current_worksp…
nikochiko 6de5425
add link-button to open workspace creation dialog from workflow page
nikochiko 9e2e26e
preserve old UX for workspace selector when user has multiple workspaces
nikochiko d139339
rename: form_buttons_div -> form_buttons_container
nikochiko 74ab257
rename: error_msg_div -> error_msg_container
nikochiko 005aa61
use rsplit with maxsplit=1 instead of split for parsing email address
nikochiko 4e5ce60
add max_emails param in bulk-invite, change default from 10 to 5
nikochiko a6d7313
fix: disallow common email domains in selector
nikochiko 70bb2d8
remove admin restriction on creating new workspaces
nikochiko bd7aeca
ux and text adjustments for workspace create dialog
nikochiko 5a17632
remove debug print statements
nikochiko b327e64
Merge branch 'master' into public-workspaces
nikochiko b1e4e29
Deprecate old creator, business plans. Add new plan for business
nikochiko 9e83a8d
add new button states for billing page plans
nikochiko 5973833
Add new button labels, create->pay dialog on pressing "Go Private" fr…
nikochiko 6d8c531
fix plan comparison logic
nikochiko fe5fe9d
Add missing migrations
nikochiko c25fbde
Don't show plan box for Enterprise customers
nikochiko 70ce7d2
Add is_public and new visibility modes for published runs
nikochiko fae4642
add new permission system with team_permissions and visibility
nikochiko a98d287
squash migrations for bots app
nikochiko b382f3f
fix: revert overridden migration bots/0092
nikochiko 23b59db
remove debug print
nikochiko dd80cda
fix imports
nikochiko f87b629
Merge branch 'master' into new-business-plan
nikochiko d2ce359
fix migration conflict
nikochiko 8868b79
add 'Create a team workspace' alertbox to share dialog for non-org users
nikochiko 1bc88c9
fix spaces in share dialog text
nikochiko edc93c9
obscure phone number unless editing
nikochiko ec359a8
update workspaces view with updated banner
nikochiko ec6a09e
refactor: move workspace invite button to separate widget module
devxpy e80969d
migration
devxpy 7f9a4dc
Refactor: Move permission logic to PublishedRunPermission class and a…
devxpy f2b176d
Refactor: Move can_user_edit_published_run to PublishedRunPermission …
devxpy 6ec812b
Refactor: Move _render_share_options_for_team_workspace to workflow_s…
devxpy 57b82db
Refactor: Move _render_alert_to_create_team_workspace to workspaces/w…
devxpy 098567c
Refactor: Move clear_publish_form to publish_form.py and improve impl…
devxpy 6fdabfb
Refactor: Move _render_share_options_for_personal_workspace to workfl…
devxpy 496bd54
Refactor: Improve publish dialog state management in base.py
devxpy bb2fa5a
refactor: extract workflow share modal into standalone component - Mo…
devxpy 531e8d3
refactor: improve workflow sharing and permission handling - Move sha…
devxpy e25c416
refactor: rename PublishedRunPermission to WorkflowAccessLevel
devxpy e88507b
fix: publish form should not show save button if selected workspace i…
devxpy d30c330
disable public checkbox on share options when unlisted is selected
devxpy de14c15
Refactor workspace creation dialog into separate popup route handlers
devxpy 0f900bd
fix: enforce workspace membership for workflow edit access
devxpy a556fd7
refactor: optimize handle suggestion logic with set operations
devxpy cb554cc
tweak handle input padding
devxpy b4224a1
fix: invalid css props
devxpy 9e52d6a
update fixtures
devxpy 86ad7b4
Merge branch 'master' of github.com:GooeyAI/gooey-server into new-bus…
devxpy c986665
remove debug comments
devxpy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
app_users/migrations/0026_alter_appusertransaction_plan.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 5.1.3 on 2025-03-25 11:06 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0025_remove_appuser_handle'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='appusertransaction', | ||
name='plan', | ||
field=models.IntegerField(blank=True, choices=[(1, 'Basic Plan'), (2, 'Premium Plan'), (4, 'Creator'), (5, 'Business (2024)'), (3, 'Pay as you go'), (7, 'Business'), (6, 'Enterprise')], default=None, help_text="User's plan at the time of this transaction.", null=True), | ||
), | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
bots/migrations/0095_remove_publishedrun_bots_publis_updated_af6358_idx_and_more.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Generated by Django 5.1.3 on 2025-04-04 08:30 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0026_alter_appusertransaction_plan'), | ||
('bots', '0094_publishedrun_photo_url_workflowmetadata_emoji'), | ||
('workspaces', '0010_workspace_banner_url'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveIndex( | ||
model_name='publishedrun', | ||
name='bots_publis_updated_af6358_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='publishedrun', | ||
name='bots_publis_is_appr_a989ec_idx', | ||
), | ||
migrations.AddField( | ||
model_name='publishedrun', | ||
name='workspace_access', | ||
field=models.IntegerField(choices=[(1, 'View Only'), (2, 'Find And View'), (4, 'Edit'), (3, 'Internal')], default=4), | ||
), | ||
migrations.AddField( | ||
model_name='publishedrunversion', | ||
name='workspace_access', | ||
field=models.IntegerField(choices=[(1, 'View Only'), (2, 'Find And View'), (4, 'Edit'), (3, 'Internal')], default=4), | ||
), | ||
migrations.AlterField( | ||
model_name='publishedrun', | ||
name='visibility', | ||
field=models.IntegerField(choices=[(1, 'View Only'), (2, 'Find And View'), (4, 'Edit'), (3, 'Internal')], default=2), | ||
), | ||
migrations.AlterField( | ||
model_name='publishedrunversion', | ||
name='visibility', | ||
field=models.IntegerField(choices=[(1, 'View Only'), (2, 'Find And View'), (4, 'Edit'), (3, 'Internal')], default=1), | ||
), | ||
migrations.AddIndex( | ||
model_name='publishedrun', | ||
index=models.Index(fields=['is_approved_example', 'visibility', 'workspace_access', 'published_run_id', 'updated_at', 'workflow', 'example_priority'], name='bots_publis_is_appr_8c8651_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='publishedrun', | ||
index=models.Index(fields=['-updated_at', 'workspace', 'created_by', 'visibility', 'workspace_access'], name='bots_publis_updated_31d8a4_idx'), | ||
), | ||
] |
41 changes: 41 additions & 0 deletions
41
bots/migrations/0096_remove_publishedrun_bots_publis_is_appr_8c8651_idx_and_more.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 5.1.3 on 2025-04-04 08:31 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0026_alter_appusertransaction_plan'), | ||
('bots', '0095_remove_publishedrun_bots_publis_updated_af6358_idx_and_more'), | ||
('workspaces', '0010_workspace_banner_url'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveIndex( | ||
model_name='publishedrun', | ||
name='bots_publis_is_appr_8c8651_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='publishedrun', | ||
name='bots_publis_updated_31d8a4_idx', | ||
), | ||
migrations.RenameField( | ||
model_name='publishedrun', | ||
old_name='visibility', | ||
new_name='public_access', | ||
), | ||
migrations.RenameField( | ||
model_name='publishedrunversion', | ||
old_name='visibility', | ||
new_name='public_access', | ||
), | ||
migrations.AddIndex( | ||
model_name='publishedrun', | ||
index=models.Index(fields=['is_approved_example', 'public_access', 'workspace_access', 'published_run_id', 'updated_at', 'workflow', 'example_priority'], name='bots_publis_is_appr_644b75_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='publishedrun', | ||
index=models.Index(fields=['-updated_at', 'workspace', 'created_by', 'public_access', 'workspace_access'], name='bots_publis_updated_fcf021_idx'), | ||
), | ||
] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.