0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/api
Michael Matloka ec0f7ef880
Add slug field to Organization (#6395)
* Add `slug` fields to `Organization` and `Team`

* Expose slugs to user

* Add slug autogeneration for new orgs/projects

* Improve slug UX

* Remove slug from settings

* Update org/team instance creation plus add tests

* Only require project slug to be unique for org, not globally

* Fix `get_prep_value`

* Test organization slugification

* Deslugify `Team`

* Clean up changes

* Update test_user.py

* Apply suggestions from code review

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>

* Random 4 letter suffixes for the win

* Fix import

* Ignore `test_migrations_are_null`

* Fix `RunSQL` query being empty

* Fix `generate_random_short_suffix` testing

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-10-13 14:09:40 +02:00
..
test Add slug field to Organization (#6395) 2021-10-13 14:09:40 +02:00
__init__.py
authentication.py SAML support (#5681) 2021-08-27 07:20:49 -07:00
debug_ch_queries.py Clean up DebugCHQueries viewset (#5685) 2021-08-23 12:17:12 +02:00
enterprise_event_definition.py Event/property taxonomy frontend (1/3) (#4591) 2021-06-09 19:45:42 -04:00
enterprise_property_definition.py Event/property taxonomy frontend (1/3) (#4591) 2021-06-09 19:45:42 -04:00
explicit_team_member.py Project-based permissioning TopNavigation (#6027) 2021-09-29 22:43:40 +00:00
hooks.py Purge PLUGIN_SERVER_ACTION_MATCHING flag (#6358) 2021-10-11 21:33:48 +02:00
license.py Add clickhouse and max users to license (#3918) 2021-04-14 08:45:39 -07:00