-
Notifications
You must be signed in to change notification settings - Fork 377
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
feat: access to list of rules while rule metrics are pending #2607
Commits on Jan 30, 2023
-
feat(Client): remove on mouseleave event
keithCuniah committedJan 30, 2023 Configuration menu - View commit details
-
Copy full SHA for 26b8504 - Browse repository at this point
Copy the full SHA 26b8504View commit details
Commits on Jan 31, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedJan 31, 2023 Configuration menu - View commit details
-
Copy full SHA for a5b48d9 - Browse repository at this point
Copy the full SHA a5b48d9View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedJan 31, 2023 Configuration menu - View commit details
-
Copy full SHA for bdc3cb9 - Browse repository at this point
Copy the full SHA bdc3cb9View commit details
Commits on Feb 1, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 1, 2023 Configuration menu - View commit details
-
Copy full SHA for e79eb6e - Browse repository at this point
Copy the full SHA e79eb6eView commit details
Commits on Feb 7, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 7, 2023 Configuration menu - View commit details
-
Copy full SHA for 6905376 - Browse repository at this point
Copy the full SHA 6905376View commit details
Commits on Feb 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2fccff8 - Browse repository at this point
Copy the full SHA 2fccff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9fd7bc - Browse repository at this point
Copy the full SHA f9fd7bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce4af6b - Browse repository at this point
Copy the full SHA ce4af6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb273d1 - Browse repository at this point
Copy the full SHA fb273d1View commit details -
Add create organizations table migration
Francisco Aranda committedFeb 13, 2023 Configuration menu - View commit details
-
Copy full SHA for 5f76c45 - Browse repository at this point
Copy the full SHA 5f76c45View commit details -
Add create_workspaces_table migrations
Francisco Aranda committedFeb 13, 2023 Configuration menu - View commit details
-
Copy full SHA for b2b463a - Browse repository at this point
Copy the full SHA b2b463aView commit details -
Increase black line length configuration to 120
Francisco Aranda committedFeb 13, 2023 Configuration menu - View commit details
-
Copy full SHA for 434b0da - Browse repository at this point
Copy the full SHA 434b0daView commit details
Commits on Feb 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d2e12eb - Browse repository at this point
Copy the full SHA d2e12ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0af1957 - Browse repository at this point
Copy the full SHA 0af1957View commit details -
Configuration menu - View commit details
-
Copy full SHA for b13bb6c - Browse repository at this point
Copy the full SHA b13bb6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f50aa89 - Browse repository at this point
Copy the full SHA f50aa89View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4ca280 - Browse repository at this point
Copy the full SHA b4ca280View commit details -
Configuration menu - View commit details
-
Copy full SHA for 002abb2 - Browse repository at this point
Copy the full SHA 002abb2View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 6a102ae - Browse repository at this point
Copy the full SHA 6a102aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e2eca9 - Browse repository at this point
Copy the full SHA 3e2eca9View commit details
Commits on Feb 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e3e0c03 - Browse repository at this point
Copy the full SHA e3e0c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9bea4d - Browse repository at this point
Copy the full SHA e9bea4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b8ba8 - Browse repository at this point
Copy the full SHA e7b8ba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d1215 - Browse repository at this point
Copy the full SHA 11d1215View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473858a - Browse repository at this point
Copy the full SHA 473858aView commit details -
- Move database models from folder to one single file.
- Add relationship to User and Workspace models. - Minor fixes.
Configuration menu - View commit details
-
Copy full SHA for 5086739 - Browse repository at this point
Copy the full SHA 5086739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4291233 - Browse repository at this point
Copy the full SHA 4291233View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 15, 2023 Configuration menu - View commit details
-
Copy full SHA for e1b844c - Browse repository at this point
Copy the full SHA e1b844cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fac06bd - Browse repository at this point
Copy the full SHA fac06bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06ab131 - Browse repository at this point
Copy the full SHA 06ab131View commit details -
Configuration menu - View commit details
-
Copy full SHA for c03bd0e - Browse repository at this point
Copy the full SHA c03bd0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02a7303 - Browse repository at this point
Copy the full SHA 02a7303View commit details -
chore: Merge branch 'feat/add-basic-database-support' of github.com:r…
…ecognai/rubrix into feat/add-basic-database-support
Configuration menu - View commit details
-
Copy full SHA for f319bf1 - Browse repository at this point
Copy the full SHA f319bf1View commit details
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f31f0da - Browse repository at this point
Copy the full SHA f31f0daView commit details -
Tests/make tests working with new database system (#2351)
Changes in tests to integrate with the new database system. Also, correct the `workspaces` ORM -> View mapping. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1482e53 - Browse repository at this point
Copy the full SHA 1482e53View commit details -
- Remove `email` and `password_reset_token` from `users` table migration. - Set `first_name` from `users` table as non nullable. - Modify `User` Pydantic model mapping `full_name` and `workspaces` using SQLAlchemy `User` model. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 01d92a0 - Browse repository at this point
Copy the full SHA 01d92a0View commit details
Commits on Feb 17, 2023
-
Add new users creation endpoint (#2359)
- Add new `POST /api/users` endpoint to create users. - Set `api_key` field as mandatory on Pydantic User model. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d5cefb2 - Browse repository at this point
Copy the full SHA d5cefb2View commit details -
Improve database sessions management (#2360)
Improve how database sessions are used in context and endpoints: - Using a new `get_db` function yielding a `SessionLocal` instance and ensuring the session is closed. - All endpoints that require it now depends on `get_db`. - Accounts context functions now receive a `db` session argument. - We have improved how `SessionLocal` is used on seeds functions. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a82e536 - Browse repository at this point
Copy the full SHA a82e536View commit details
Commits on Feb 20, 2023
-
Add new endpoint to list users (#2366)
This PR adds a new API endpoint to list all the users present in the database. It doesn't includes pagination. We need to discuss if it's something that we need right now, maybe it can be implemented later.
Configuration menu - View commit details
-
Copy full SHA for 57791fa - Browse repository at this point
Copy the full SHA 57791faView commit details -
Add new endpoint to delete users (#2363)
Add new endpoint to delete users. - The endpoint returns a 404 error when the provided `user_id` is not found. - I have found a problem with `UUID` type not being correctly serialized to JSON for some reason. We need to find an alternative solution to this (more info in the code). --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 863a647 - Browse repository at this point
Copy the full SHA 863a647View commit details
Commits on Feb 21, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 792fa5e - Browse repository at this point
Copy the full SHA 792fa5eView commit details -
Add first iteration of workspace endpoints (#2375)
This PR includes the first iteration for the new workspaces API. The included endpoints allow to: - `GET /api/workspaces`: list workspaces. - `POST /api/workspaces`: create a new workspace. - `DELETE /api/workspaces/:workspace_id`: delete a workspace. - `GET /api/workspaces/:workspace_id/users`: list users members of the workspace. - `POST /api/workspaces/:workspace_id/users/:user_id`: add a new user as member of the workspace. - `DELETE /api/workspace/:workspace_id/users/:user_id`: remove/delete a user as member of the workspace. It also includes changes to `users_workspaces` table migration adding on delete cascade. With this change once a record on `users` or `workspaces` table is deleted we are deleting the associated `users_workspaces` record too. There are some missing things that are not included and we will fix later: - When deleting workspaces we are not checking if they have associated datasets or not. - Pagination (we need to discuss the response format for this). - Some missing errors that are not managed yet (for example conflict error when an user is already member of a workspace and you are trying to create it). - Timestamps (`inserted_at`, `udpdated_at` columns). - Tests (we want to do some improvements to our testing suite first). @frascuchon tell me if you want to discuss some of these missing points.
Configuration menu - View commit details
-
Copy full SHA for e886536 - Browse repository at this point
Copy the full SHA e886536View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 1513d63 - Browse repository at this point
Copy the full SHA 1513d63View commit details -
Add timestamps columns and fields to database models (#2378)
This PR include the following changes: * Add `inserted_at` and `updated_at` columns to all database table migrations. * Add `inserted_at` and `updated_at` fields to database models and Pydantic schemas. Missing things: * It was not possible to add `inserted_at`, and `updated_at` fields to `User` Pydantic schema due to some errors in old code. We can fix this later. Gotchas: * In order to have the same exact values for `inserted_at` and `updated_at` when a record is inserted I have created a `default_inserted_at` function that get the context of the operation to extract the value of `inserted_at` and use it on `update_at`. * I can see microseconds level date times inserted on SQLite so I guess we are covered on that sense (maybe we can check this once we test the changes with PostgreSQL).
Configuration menu - View commit details
-
Copy full SHA for d72b2fa - Browse repository at this point
Copy the full SHA d72b2faView commit details
Commits on Feb 23, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 90e98e0 - Browse repository at this point
Copy the full SHA 90e98e0View commit details -
Change tests configuration to allow testing with new endpoints using …
…database (#2395) In this PR we are making changes on how tests are configured to be used with the database: * Moved test seeds to a new `test_seeds` function at `argilla.server.seeds` package. * One the new `test_seeds` function we are defining a default "argilla" user. In the future `test_seeds` should only have proper seeds necessary for the application to work normally and users and other stuff should be added as test fixtures. * We didn't find a proper way to use transactions and rollback changes in every unit test and allow endpoints access the same data so we are truncating all the database tables after every unit test execution. * We added a test for one of the new workspaces endpoint that interact with the database so we can check that everything is working as expected. * Now our GitHub actions run (alembic) database migrations in the tests section.
Configuration menu - View commit details
-
Copy full SHA for 030b40d - Browse repository at this point
Copy the full SHA 030b40dView commit details -
Add explicit ascendent order by inserted_at column to collection endp…
…oints (#2397) This PR add explicit ordering by db insertion time (using `inserted_at` column) to endpoints that are returning collections from database. Right now those are for users and workspaces. This explicit order avoid leaving the order to the database so it is consistent between SQLite and PostgreSQL or other databases, and always returning the same result.
Configuration menu - View commit details
-
Copy full SHA for 20bafa8 - Browse repository at this point
Copy the full SHA 20bafa8View commit details -
Add unique constraint to workspaces name column (#2396)
This PR add an unique constraint to column `name` on `workspaces` table. This restriction is necessary right now because we are using workspaces name inside elastic-search indexes and it's not possible to have duplications. In the future we will have information about elastic indexes in the database (using ids) so we can rethink is the uniqueness is necessary. I have added a missing `mapped_column(unique=True)` for `username` field on `User` model too.
Configuration menu - View commit details
-
Copy full SHA for ff1b92e - Browse repository at this point
Copy the full SHA ff1b92eView commit details -
Fix wrong method name when user is not found on authenticate_user fun…
…ction (#2401) A small fix for a wrong method name used when user is not found on `authenticate_user`. Waiting for changes on test settings to be merged so we can write some new tests for this one.
Configuration menu - View commit details
-
Copy full SHA for 05f4395 - Browse repository at this point
Copy the full SHA 05f4395View commit details
Commits on Feb 24, 2023
-
Adding id and timestamps to user (#2413)
The pydantic `User` class contains id, and timestamp (`inserted_at` and `updated_at` attributes). Also, old user components (service, dao,...) are removed, and all affected tests removed/adapted. --------- Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e701ac - Browse repository at this point
Copy the full SHA 3e701acView commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedFeb 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 75366b6 - Browse repository at this point
Copy the full SHA 75366b6View commit details
Commits on Feb 28, 2023
-
Add factories and additional tests for new endpoints (#2415)
This PR add tests for new endpoints and also: - Adding [`factory-boy`](https://factoryboy.readthedocs.io/en/stable/) as development dependency. - Adding factories: `UserFactory`, `WorkspaceFactory`, and `UserWorkspaceFactory`. - Fixing relationship warnings for `UserWorkspace` SQLAlchemy model. Additionally some of the tests are marked as pending for two different reasons: - SQLite is by default [not enforcing referencial integrity with foreign keys](https://docs.sqlalchemy.org/en/20/dialects/sqlite.html#foreign-key-support), we have different options here: 1. Enforce foreign key support executing `PRAGMA` statement on connection. 2. Add additional checks to the endpoints where necessary. - Pydantic is by default accepting empty strings as valid values for fields that are not optional. This is causing for example that create an user with an empty string as `first_name` is totally valid. - We need to check if it's necessary to add a constraint to our models or an alternative solution (it is a dangerous default behavior). We have discussed these points and we will solve them as follows: 1. We will enforce SQLite foreign keys integrity using a `PRAGMA` statement in every connection. - The changes are included in this PR. - Even with this I have added some additional checks in some endpoints to give more information to the user when necessary. 2. For Pydantic models accepting empty strings for non-optional string fields: - We will create a new PR with a solution for this, adding more constraints of changing this Pydantic default behavior. 3. We will change `users_workspaces` table name and models to `workspaces_users`, ' WorkspaceUser`, etc. : - The changes will be done in a different PR. - This has sense because the most important entity is workspace.
Configuration menu - View commit details
-
Copy full SHA for 1201d46 - Browse repository at this point
Copy the full SHA 1201d46View commit details -
Add __repr__ implementation for database models (#2441)
This PR adds `___repr___` implementation for all database models so we can easily debug on console.
Configuration menu - View commit details
-
Copy full SHA for 17998d8 - Browse repository at this point
Copy the full SHA 17998d8View commit details -
Rename users_workspaces to workspaces_users (#2436)
In this PR I'm redefining the order of the entities in `users_workspaces` table to `workspaces_users`. This will improve the semantics of our endpoints and make it more clear. I have changed too the associated ORM models and Pydantic schemas to reflect this change. Everything else should remain the same, behavior is not changing.
Configuration menu - View commit details
-
Copy full SHA for e20de8c - Browse repository at this point
Copy the full SHA e20de8cView commit details -
Improve field constraints for some Pydantic schemas (#2432)
We found that Pydantic schema string fields allow empty strings by default, being the field optional or not. More info about that here: pydantic/pydantic#1626 With this behavior we can finish with empty strings used in fields like `user.first_name`, `user.last_name` and others. Something that can have a bad impact in our application. I have explored different solutions, like defining a common validation or a custom field type. At the end I think the most simple solution is to be explicit and define the constraint that we want for the fields. In this case `min_length=1` when necessary. Additional changes: * Added new max length constraint for `user.password` field. * Notice how I have changed `constr` for `str = Field(...)`. If I'm not wrong looks like they are similar but `Field` is used to generate a validation response when errors are found.
Configuration menu - View commit details
-
Copy full SHA for f73159f - Browse repository at this point
Copy the full SHA f73159fView commit details
Commits on Mar 1, 2023
-
Merge from develop branch (#2445)
Still failing 4 tests. All failed tests are related to workspace operations. ```bash FAILED tests/client/test_api.py::test_dataset_copy_to_another_workspace - argilla.client.sdk.commons.errors.NotFoundApiError: Argilla server returned an error with http status: 404 FAILED tests/functional_tests/test_log_for_text_classification.py::test_log_data_in_several_workspaces - Exception: Wrong provided workspace my-fun-workspace FAILED tests/functional_tests/datasets/test_delete_records_from_datasets.py::test_delete_records_without_permission - Exception: Wrong provided workspace argilla FAILED tests/server/datasets/test_api.py::test_delete_records - assert 404 == 403 ``` Running tests locally I found an error with DB rollback when a test is failing. I've stopped using current seeds for tests (adding users). Those users are created as a fixture where they are required. This change affects to some users tests
Configuration menu - View commit details
-
Copy full SHA for 310ab28 - Browse repository at this point
Copy the full SHA 310ab28View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for c117b3d - Browse repository at this point
Copy the full SHA c117b3dView commit details -
Tests will link users to workspaces when needed (#2446)
Failing tests were trying to launch actions using a workspace linked to the `argilla` user. Now, those tests will create this link explicitly.
Configuration menu - View commit details
-
Copy full SHA for 889fafa - Browse repository at this point
Copy the full SHA 889fafaView commit details -
Use ARGILLA_DATABASE_URL to set sqlalchemy and alembic database setti…
…ngs (#2447) With this PR we are making the necessary changes to create database connections using a new `ARGILLA_DATABASE_URL` environment variable for SQLAlchemy and Alembic migrations. Considerations: - Right now the value of `ARGILLA_DATABASE_URL` is get on `server/database.py` file. Maybe we should think into moving it to some settings file. - A new `postgresql` section has been added to `pyproject.toml`. We should add something to the documentation about installing dependencies with `pip` for this section if the user wants to use PostgreSQL. - I have moved the connection argument `check_same_thread=False` to the default `ARGILLA_DATABASE_URL` value. If a users wants to use a custom SQLite URL the same connection argument should be used (maybe we need to add something about this to the documentation). - API endpoint tests are passing locally using PostgreSQL. ## How to run the application using PostgreSQL Installing PostgreSQL and creating `argilla` database: ```sh $ brew install postgresql $ createdb argilla ``` Installing Python PostgreSQL dependencies and run migrations: ```sh $ pip install -e .[postgresql] $ ARGILLA_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/argilla alembic upgrade head ``` Running tests ```sh $ ARGILLA_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/argilla pytest tests ```
Configuration menu - View commit details
-
Copy full SHA for 82623cd - Browse repository at this point
Copy the full SHA 82623cdView commit details
Commits on Mar 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f6ce9df - Browse repository at this point
Copy the full SHA f6ce9dfView commit details -
Add new function to get workspace by name (#2464)
Simply add a new accounts context function to get workspaces by name.
Configuration menu - View commit details
-
Copy full SHA for 09bcee6 - Browse repository at this point
Copy the full SHA 09bcee6View commit details -
Clean user pydantic model (#2462)
We remove extra things from the `User` pydantic model. - The `email` attribute - Extra not needed validators, like username or workspace patterns, since they are already done in the `UserCreate` and `WorkspaceCreate` classes In a separate PR, workspace validations will be moved to a proper validation module/class used for that purpose.
Configuration menu - View commit details
-
Copy full SHA for ce9e0e5 - Browse repository at this point
Copy the full SHA ce9e0e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e03a64 - Browse repository at this point
Copy the full SHA 7e03a64View commit details
Commits on Mar 3, 2023
-
Add basic role support to users (#2467)
This PR adds the following changes: - Add a new string `role` column to `users` table. The column is non nullable and indexed. - Add `UserRole` class as enumerable. The class inherits from `Enum` and `str` (to avoid some JSON encoding problems, maybe we can create a custom JSON encoder to avoid possible problems). - Add `role` as enumerable field to `User` SQLAlchemy model with `annotator` as default. - Add `role` as optional for `UserCreate` Pydantic schema. Changes has been tested locally and are working with PostgreSQL too.
Configuration menu - View commit details
-
Copy full SHA for e3e0884 - Browse repository at this point
Copy the full SHA e3e0884View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0b35cb - Browse repository at this point
Copy the full SHA c0b35cbView commit details -
Remove extra fields in User (#2470)
Remove the extra `workspaces` field and the unused `disabled` field.
Configuration menu - View commit details
-
Copy full SHA for f36fea4 - Browse repository at this point
Copy the full SHA f36fea4View commit details -
Add new ARGILLA_HOME_PATH environment variable (#2468)
This PR adds `ARGILLA_HOME_PATH` new environment variable with a default value equal to `~/.argilla`. After that `ARGILLA_HOME_PATH` is used to define the default value for `ARGILLA_DATABASE_URL`. I have added these changes to `_const.py` file but maybe we should create a `settings.py` file or something similar. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ce49014 - Browse repository at this point
Copy the full SHA ce49014View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e8c08 - Browse repository at this point
Copy the full SHA c3e8c08View commit details -
Add migration to create users on database from YAML config file (#2459)
This PR adds a new users migration task that will allow to move users defined at a YAML file to database. After checking that this is working as expected and it's what we really want we can made the necessary changes to our documentation (maybe in this current PR). ## Details about the migration process: - It's executed inside a database transaction so an error in one specific user should rollback all the changes. - I have added some Pydantic basic schemas to validate the content from the YAML file. Please check if some additional checks or validations can be added. - The code is capturing the exception when the file is not found. Knowing that this is a task to be manually executed, maybe we should not capture the exception and let it crash. ## How to execute the migration process: ```sh $ ARGILLA_LOCAL_AUTH_USERS_DB_FILE=users.yml python -m argilla.tasks.users_migrator ```
Configuration menu - View commit details
-
Copy full SHA for a72e6fb - Browse repository at this point
Copy the full SHA a72e6fbView commit details
Commits on Mar 6, 2023
-
Add default user and show warning message on startup when no users fo…
…und (#2481) With this PR we will add a default `argilla` user (with `argilla`) when there are not users on the database. We also show a warning message indicating that it could be dangerous to have default `argilla` user in a production environment and what to do in that case. In the case that we already have users on the database (because of the migration) we check if the `argilla` default user is using default credentials (password and api key) and in that case we show the same previous warning.
Configuration menu - View commit details
-
Copy full SHA for 68295ce - Browse repository at this point
Copy the full SHA 68295ceView commit details -
Add new task to execute alembic database migrations (#2489)
This PR adds a new task to run alembic database migration in the same way that we do with `alembic upgrade head` but using an argilla task. To execute the task you need to do: ```sh $ python -m argilla.tasks.database.migrate ```
Configuration menu - View commit details
-
Copy full SHA for 24ec2ab - Browse repository at this point
Copy the full SHA 24ec2abView commit details
Commits on Mar 7, 2023
-
leire committed
Mar 7, 2023 Configuration menu - View commit details
-
Copy full SHA for ed5e7f9 - Browse repository at this point
Copy the full SHA ed5e7f9View commit details -
leire committed
Mar 7, 2023 Configuration menu - View commit details
-
Copy full SHA for 42260f7 - Browse repository at this point
Copy the full SHA 42260f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 678de36 - Browse repository at this point
Copy the full SHA 678de36View commit details -
Remove creation of default user from server startup (#2498)
This PR removes the creation of the default user from the server startup process. The idea is to move this functionality to a new task that will allow users to create the default `argilla` user from command line.
Configuration menu - View commit details
-
Copy full SHA for 7bb8466 - Browse repository at this point
Copy the full SHA 7bb8466View commit details
Commits on Mar 8, 2023
-
Create task CLI for Argilla users creation (#2488)
Adding a task to create users from command line. ```bash # To create an user python -m argilla.tasks.create_user --username 3233edrito2df --role admin --password 12345678932 # To show help python -m argilla.tasks.create_user --help ``` TODO: - [x] Add tests --------- Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89e28d5 - Browse repository at this point
Copy the full SHA 89e28d5View commit details -
Add basic authorization policies (#2491)
This is a first proposal of the new authorization policies after visiting them for the first time on @frascuchon PR: #2469 The general idea is to have a `policies` package where we can create different policies classes including the authorization logic for every model in our application. The `policies` package will include also two method to facilitate check authorization policies on API handlers. - `authorized`: that will raise a `ForbiddenOperationError` exception if the policy does not check. - `is_authorized`: that will return `True` or `False` depending if the policy checks or not. Things to have into account: - The user that we get as `current_user` on API handlers is not an SQLAlchemy ORM `User` model (we need to take a look to this @frascuchon). - The creation of default user on server startup it's breaking some of my tests so I have disabled it (we can discuss if with the new user creation task this can be removed). - There is an alternative version of authorization policies that we can implement using closures. It has a lot of flexibility but adds a little bit of complexity to the code.
Configuration menu - View commit details
-
Copy full SHA for 6b6fc31 - Browse repository at this point
Copy the full SHA 6b6fc31View commit details -
Add task to create default user on database (#2502)
This PR adds a new task to create user with defaults credentials on database. ```sh # Get help $ python -m argilla.tasks.users.create_default --help # Create the default user $ python -m argilla.tasks.users.create_default # Create the default user without output $ python -m argilla.tasks.users.create_default --quiet ``` I have refactored a little bit some `contexts.accounts` functions related with passwords, maybe it could be applied later to some other PRs on the go.
Configuration menu - View commit details
-
Copy full SHA for 8b6d7b3 - Browse repository at this point
Copy the full SHA 8b6d7b3View commit details -
Move and rename some files to users tasks package (#2507)
This PR improves the state of the users tasks package: - Move `users_migrator` to `tasks.users` package and renamed it to `migrate`. - Rename `create_user` to `create`. At the end we have the following tasks available: ```sh # Creates a new user in the database $ python -m argilla.tasks.users.create # Creates a user with default credentials into the database $ python -m argilla.tasks.users.create_default # Migrates from a YAML users file to database $ python -m argilla.tasks.users.migrate ``` And additionally (not related with this PR changes but adding it anyway): ```sh # Run pending database migrations $ python -m argilla.tasks.database.migrate ```
Configuration menu - View commit details
-
Copy full SHA for 7866e1e - Browse repository at this point
Copy the full SHA 7866e1eView commit details -
First integration of new resources with current API endpoints (#2505)
Using the `DELETE /api/datasets/:name`, this PR shows how the integration with the new database, models, and policies could be applied. - A new `DatasetPolicy` class has been created - The current user used for this endpoint is now a `models.User` instance (using the new method `provider.get_current_user`)
Configuration menu - View commit details
-
Copy full SHA for 63fcdd5 - Browse repository at this point
Copy the full SHA 63fcdd5View commit details
Commits on Mar 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b7eb0c6 - Browse repository at this point
Copy the full SHA b7eb0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d36ef1 - Browse repository at this point
Copy the full SHA 8d36ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c05058 - Browse repository at this point
Copy the full SHA 8c05058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a790c1 - Browse repository at this point
Copy the full SHA 3a790c1View commit details -
Alembic migrations working with argilla as Python package (#2511)
This PR include changes to allow alembic database migrations work as expected with argilla built as a Python package. I have moved `alembic.ini` from root project to `src/argilla/alembic.ini` . With this change we can't execute `alembic` anymore without specifying where `alembic.ini` is with `--config` parameter. So in order to execute `alembic` command in development we need to set `--config parameter`: ```sh $ alembic --config src/argilla/alembic.ini upgrade head ``` Alternatively we can set `ALEMBIC_CONFIG`: ```sh $ ALEMBIC_CONFIG=src/argilla/alembic.ini alembic upgrade head ``` I followed the steps below to test the changes: ## Create a testing environment to build the argilla package ```sh $ conda create -n argilla-testing python=3.8 $ conda activate argilla-testing ``` ## Build the package Only building the python code for testing purposes: ```sh $ python -m build ``` ## Install the package ```sh $ pip install dist/argilla-1.4.0.dev0.tar.gz[server,listeners,postgresql] ``` ## Testing that changes are working These command should be executed outside argilla root project path, to be sure that everything is working running with the installed Python package. Running database migrations (default SQLite): ```sh $ python -m argilla.tasks.database.migrate INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [alembic.runtime.migration] Running upgrade -> 74694870197c, create users table INFO [alembic.runtime.migration] Running upgrade 74694870197c -> 82a5a88a3fa5, create workspaces table INFO [alembic.runtime.migration] Running upgrade 82a5a88a3fa5 -> 1769ee58fbb4, create workspaces_users table ``` Running database migrations with PostreSQL: ``` $ createdb argilla $ ARGILLA_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/argilla python -m argilla.tasks.database.migrate INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. INFO [alembic.runtime.migration] Running upgrade -> 74694870197c, create users table INFO [alembic.runtime.migration] Running upgrade 74694870197c -> 82a5a88a3fa5, create workspaces table INFO [alembic.runtime.migration] Running upgrade 82a5a88a3fa5 -> 1769ee58fbb4, create workspaces_users table ``` Adding user with default credentials (default SQLite): ``` $ python -m argilla.tasks.users.create_default User with default credentials succesfully created: • username: 'argilla' • password: '1234' • api_key: 'argilla.apikey' ``` Adding user with default credentials with PostgreSQL: ``` $ ARGILLA_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/argilla python -m argilla.tasks.users.create_default User with default credentials succesfully created: • username: 'argilla' • password: '1234' • api_key: 'argilla.apikey' ```
Configuration menu - View commit details
-
Copy full SHA for 463f244 - Browse repository at this point
Copy the full SHA 463f244View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3ba05b8 - Browse repository at this point
Copy the full SHA 3ba05b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e30453 - Browse repository at this point
Copy the full SHA 6e30453View commit details -
Merge branch 'feat/add-basic-database-support' of https://github.com/…
…argilla-io/argilla into feat/add-basic-database-support
Configuration menu - View commit details
-
Copy full SHA for 302dada - Browse repository at this point
Copy the full SHA 302dadaView commit details
Commits on Mar 13, 2023
-
Integrate datasets crud endpoints (#2510)
This PR integrates new DB logic and policies with the current implementation. - The main changes are applied to the dataset service class - The `auth.get_current_user` returns a `models.User` instance - The ONLY change in endpoints is using this new `auth.get_current_user` method In a separate PR the pydantic User class will be cleaned and normalized --------- Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83a11e9 - Browse repository at this point
Copy the full SHA 83a11e9View commit details -
Clean pydantic user class (#2518)
- Removing extra method and computed properties for pydantic `User`class. - import `models.User` instead of security. model
Configuration menu - View commit details
-
Copy full SHA for ebcd381 - Browse repository at this point
Copy the full SHA ebcd381View commit details -
Support api-key and password as parameter when using users.create_def…
…ault task (#2516) This PR includes the following changes: * Adds `--api-key` and `--password` parameters to `argilla.tasks.users.create_default`. * Now `argilla.tasks.users.create_default` checks if there is a user using default username before creating it and showing a message in such case (but not raising an error).
Configuration menu - View commit details
-
Copy full SHA for 084de8f - Browse repository at this point
Copy the full SHA 084de8fView commit details
Commits on Mar 14, 2023
-
Return all workspaces for admin users (#2523)
The current client will check if a user can work on a specific workspace by using workspaces info returning in `/api/me` Returning all workspaces from the `/api/me` for admin users keeps the backward compatibility with the client flow. --------- Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dcb5390 - Browse repository at this point
Copy the full SHA dcb5390View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 14, 2023 Configuration menu - View commit details
-
Copy full SHA for da4026c - Browse repository at this point
Copy the full SHA da4026cView commit details -
Make workspace mandatory for dataset requests (#2529)
The workspace name will be mandatory for those requests working with datasets. All except the dataset list, which will remain optional. Also, the dataset tests are upgraded using the `test_client` fixture, instead of custom mocked_client --------- Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6718b01 - Browse repository at this point
Copy the full SHA 6718b01View commit details -
Change Dockerfiles to support database changes (#2524)
This PR will include changes to our Dockerfile images to have support to the new database integration.
Configuration menu - View commit details
-
Copy full SHA for 066be20 - Browse repository at this point
Copy the full SHA 066be20View commit details -
Add admin password and admin api-key to release Dockerfile (#2538)
Only adding two new env vars `ADMIN_PASSWORD` and `ADMIN_API_KEY` allowing the configuration of the password and api key when using `release.Dockerfile`.
Configuration menu - View commit details
-
Copy full SHA for 8dcad98 - Browse repository at this point
Copy the full SHA 8dcad98View commit details -
Configuration menu - View commit details
-
Copy full SHA for a374585 - Browse repository at this point
Copy the full SHA a374585View commit details
Commits on Mar 15, 2023
-
Add support to create workspaces for argilla users.create task (#2544)
This PR adds a new optional `--workspace` parameter to the `argilla.tasks.user.create` task. The parameter can be used multiple times to add the user to multiple workspaces. If the workspaces doesn't exist these will be created. You can use the new parameter as follows: ```sh $ python -m argilla.tasks.users.create --first-name John --last-name Doe --role admin --username johndoe --password 12345678 --workspace workspace-a --workspace workspace-b User succesfully created: • first_name: 'John' • last_name: 'Doe' • username: 'johndoe' • role: 'admin' • api_key: 'hZQKQa-zWzXSaw1VMgy8Ego6B8u2qoPFb7bp_BgKOKWnueYFzcvvevihs6YqlNOuHzFC_MQNwpmo41J5Ce3Htgj8mT6KIrYrt3mk4EFJ5S8' • workspaces: ['workspace-a', 'workspace-b'] ```
Configuration menu - View commit details
-
Copy full SHA for 1c796dc - Browse repository at this point
Copy the full SHA 1c796dcView commit details -
Explicit setup to add alembic.ini in package distribution (#2542)
It's what it is @jfcalvo I see also that the `script.mako` file is not included by default. Do we need it?
Configuration menu - View commit details
-
Copy full SHA for ecb1568 - Browse repository at this point
Copy the full SHA ecb1568View commit details -
Change users.migrate task to be a basic click command (#2548)
The idea of this PR is to change `argilla.tasks.users.migrate` task to be a click command easily executable from command line. I have refactored the tests to check that everything is working as a click command too.
Configuration menu - View commit details
-
Copy full SHA for e2b9865 - Browse repository at this point
Copy the full SHA e2b9865View commit details
Commits on Mar 16, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 0c5eef9 - Browse repository at this point
Copy the full SHA 0c5eef9View commit details -
users.create task will skip without error when user already exists in…
… DB (#2551) The users.create task will check if the username already exists. If yes, the task will finish without errors
Configuration menu - View commit details
-
Copy full SHA for 5922b49 - Browse repository at this point
Copy the full SHA 5922b49View commit details -
Add --api-key as parameter to argilla.tasks.users.create (#2555)
This PR adds a new optional not prompted parameter `--api-key` to `argilla.tasks.users.create` with a minimum length of 8 characters.
Configuration menu - View commit details
-
Copy full SHA for fe8cc71 - Browse repository at this point
Copy the full SHA fe8cc71View commit details -
Change policies for dataset update (#2549)
This PR changes the update dataset policy to accept updating a dataset (tags and metadata) for all users linked to the dataset workspace. This may change in the future.
Configuration menu - View commit details
-
Copy full SHA for 6175f5a - Browse repository at this point
Copy the full SHA 6175f5aView commit details -
Review annotator policies for dataset settings (#2547)
For an annotator, dataset settings are visible in read-only mode. This PR adds task dataset settings-related policies and uses them in dataset settings-related actions. Also, new tests are added to test this functionality. --------- Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f7660d - Browse repository at this point
Copy the full SHA 0f7660dView commit details -
Fix Pydantic User schema full_name attribute to don't use last_name w…
…hen is None (#2545) `last_name` column on `users` database is optional and was wrongly rendered on `User` Pydantic schema for `full_name` dict property. This PR only returns the user `first_name` when `last_name` is not available (when is `None`). --------- Co-authored-by: Francisco Aranda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 539c9ae - Browse repository at this point
Copy the full SHA 539c9aeView commit details -
Raise EntityAlreadyExistsError for new endpoint handlers (#2556)
This PR includes some additional checks to new endpoints that are creating entities to check before hand if those entities exists. These changes are included for the following endpoints: - Create users. - Create workspaces. - Create workspace users.
Configuration menu - View commit details
-
Copy full SHA for 325ecfd - Browse repository at this point
Copy the full SHA 325ecfdView commit details -
Add first name and last name to user schema (#2546)
**Note:** This PR is based on changes added by #2545 so please review #2545 first. In this PR I'm adding `first_name` and `last_name` to `User` Pydantic schema. I have not found a proper way to deprecate `full_name` field (I have only found this pydantic/pydantic#2255). @frascuchon if you know of some proper way to deprecate this field and automagically show that on swagger docs please tell me.
Configuration menu - View commit details
-
Copy full SHA for 0dea3af - Browse repository at this point
Copy the full SHA 0dea3afView commit details -
Configuration menu - View commit details
-
Copy full SHA for e120bc5 - Browse repository at this point
Copy the full SHA e120bc5View commit details -
Adapt the quickstart image (#2559)
This PR makes several modifications to the Argilla quickstart image: - Replaces "Team" and "Argilla" users with "Admin" and "Annotator" users. - Aligns all environment variables with their corresponding user types: ADMIN_* and ANNOTATOR_*. - For admin users, it is possible to set up the username, API key, and password using the ADMIN_USERNAME, ADMIN_API_KEY, and ADMIN_PASSWORD variables. - For annotator users, it is possible to set up the username and password using the ANNOTATOR_USERNAME and ANNOTATOR_PASSWORD variables. - By default, the operational workspace will be based on the annotator's username. However, this can be overridden using the ARGILLA_WORKSPACE environment variable. --------- Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bebdc32 - Browse repository at this point
Copy the full SHA bebdc32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c14200 - Browse repository at this point
Copy the full SHA 5c14200View commit details -
Merge branch 'feat/add-basic-database-support' of github.com:recognai…
…/rubrix into feat/add-basic-database-support
Configuration menu - View commit details
-
Copy full SHA for 03d8c5b - Browse repository at this point
Copy the full SHA 03d8c5bView commit details -
Add argilla_data volume to docker compose (#2560)
In this PR we are defining an argilla data volume to be used on our `docker-compose.yaml`. Things to have into account: - <del>I'm defining the volume as `data` because docker adds the `argilla_` prefix once it's created being `argilla_data` at the end.</del> - Environment variables defined on the docker compose cannot being used on the right side of the volumes section. This can potentially provoke errors if the users sets the `ARGILLA_HOME_PATH` value. I have successfully tested to set a custom volume pointing to a host folder with: ```dockerfile argilla: volumes: - ${HOME}/.argilla:/var/lib/argilla networks: argilla: driver: bridge volumes: # argilladata: elasticdata: ``` And the database file is correctly created on my home folder. Restarting the docker compose is working too.
Configuration menu - View commit details
-
Copy full SHA for f213694 - Browse repository at this point
Copy the full SHA f213694View commit details
Commits on Mar 17, 2023
-
Add missing environment variables to server configuration docs (#2563)
Simply adding some new environment variables that we are using with our latests database changes. If I need to add them somewhere else please let me know.
Configuration menu - View commit details
-
Copy full SHA for 59f9c18 - Browse repository at this point
Copy the full SHA 59f9c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71eed13 - Browse repository at this point
Copy the full SHA 71eed13View commit details
Commits on Mar 21, 2023
-
Replace team.apikey with admin.apikey on the entire project (#2568)
With the latest changes done to Quickstart Dockerfile we changed the default api-key for admin user from `team.apikey` to `admin.apikey`. This PR replace all the ocurrences of the old `team.apikey` with the new `admin.apikey`.
Configuration menu - View commit details
-
Copy full SHA for f249cd3 - Browse repository at this point
Copy the full SHA f249cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b77d92b - Browse repository at this point
Copy the full SHA b77d92bView commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 2a0ff8e - Browse repository at this point
Copy the full SHA 2a0ff8eView commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 21, 2023 Configuration menu - View commit details
-
Copy full SHA for b2e20bb - Browse repository at this point
Copy the full SHA b2e20bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9217e7 - Browse repository at this point
Copy the full SHA f9217e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46ae1af - Browse repository at this point
Copy the full SHA 46ae1afView commit details -
Merge remote-tracking branch 'origin/fix/highlight_pattern' into deve…
…lop-for-deployment
Configuration menu - View commit details
-
Copy full SHA for 3e1aafc - Browse repository at this point
Copy the full SHA 3e1aafcView commit details -
Merge remote-tracking branch 'origin/refactor/sort-inputs-for-text-cl…
…assification-alphabetically' into develop-for-deployment
Configuration menu - View commit details
-
Copy full SHA for fc521ba - Browse repository at this point
Copy the full SHA fc521baView commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 21, 2023 Configuration menu - View commit details
-
Copy full SHA for b47793e - Browse repository at this point
Copy the full SHA b47793eView commit details
Commits on Mar 22, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for ca314e2 - Browse repository at this point
Copy the full SHA ca314e2View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 4ce6be3 - Browse repository at this point
Copy the full SHA 4ce6be3View commit details -
add link to user settings page
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for fe0b443 - Browse repository at this point
Copy the full SHA fe0b443View commit details -
move header out from the layout to keep layout generic
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 219b785 - Browse repository at this point
Copy the full SHA 219b785View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 2333a90 - Browse repository at this point
Copy the full SHA 2333a90View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 9812f0e - Browse repository at this point
Copy the full SHA 9812f0eView commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for b127de8 - Browse repository at this point
Copy the full SHA b127de8View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 2848f11 - Browse repository at this point
Copy the full SHA 2848f11View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 9a03158 - Browse repository at this point
Copy the full SHA 9a03158View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 343890c - Browse repository at this point
Copy the full SHA 343890cView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for acd6a80 - Browse repository at this point
Copy the full SHA acd6a80View commit details -
New User Management documentation (#2541)
A first iteration of changes in new user management doc sections. - Still missing HOWTO delete users and workspaces using the API --------- Co-authored-by: Natalia Elvira <[email protected]> Co-authored-by: Daniel Vila Suero <[email protected]> Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: David Berenstein <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: José Francisco Calvo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 657c4e7 - Browse repository at this point
Copy the full SHA 657c4e7View commit details -
Use admin workspace by default on Quickstart Docker image (#2579)
On our Q&A session we found that some tutorials were failing due to missing `admin` workspace. Argilla tutorials are using `admin` user but `admin` workspace was not created on the Quicktstart Docker image making tutorials to not work. This PR sets `ARGILLA_WORKSPACE` to use `ADMIN_USERNAME` by default so `admin` workspace is created. <del>Once I have checked on HF that everything is working I will change this PR from draft to regular.</del> The [tutorial](https://docs.argilla.io/en/latest/tutorials/notebooks/training-textclassification-transformers-pretrained.html) that was failing because the `admin` workspace was missing is now working fine. I have found others tutorials like [this one](https://docs.argilla.io/en/latest/tutorials/notebooks/labelling-textclassification-setfit-zeroshot.html) failing too but for different reasons. In this case the tutorial is using an old version of `argilla` Python package and is not sending the workspace. I have created a new issue to address these problems with our tutorials: #2583 --------- Co-authored-by: Francisco Aranda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da5b4a2 - Browse repository at this point
Copy the full SHA da5b4a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2673b3 - Browse repository at this point
Copy the full SHA a2673b3View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 986053d - Browse repository at this point
Copy the full SHA 986053dView commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 0064253 - Browse repository at this point
Copy the full SHA 0064253View commit details -
edition user info component (in read only)
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 745dcae - Browse repository at this point
Copy the full SHA 745dcaeView commit details -
add editionuserinfo component to the content
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 763d0bc - Browse repository at this point
Copy the full SHA 763d0bcView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 6fec575 - Browse repository at this point
Copy the full SHA 6fec575View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 28bed7f - Browse repository at this point
Copy the full SHA 28bed7fView commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for f50d611 - Browse repository at this point
Copy the full SHA f50d611View commit details -
get first letter and not initial for circle
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 6ecfdcd - Browse repository at this point
Copy the full SHA 6ecfdcdView commit details -
get real data instead of mock && basespinner in loading state
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for f6c928f - Browse repository at this point
Copy the full SHA f6c928fView commit details -
Merge branch 'develop-for-deployment' into feature/front-user-settings
keithCuniah committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for feabdd9 - Browse repository at this point
Copy the full SHA feabdd9View commit details -
keithCuniah committed
Mar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 40e485e - Browse repository at this point
Copy the full SHA 40e485eView commit details -
Feat : front user settings (#2586)
# Description Main branch for front part of user settings Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. Closes [#2496](#2496) ui part **Type of change** (Please delete options that are not relevant. Remember to title the PR according to the type of change) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Refactor (change restructuring the codebase without changing functionality) - [ ] Improvement (change adding some improvement to an existing functionality) - [ ] Documentation update **How Has This Been Tested** (Please describe the tests that you ran to verify your changes. And ideally, reference `tests`) - [ ] Test A **Checklist** - [x] I have merged the original branch into my forked branch - [ ] I added relevant documentation - [x] follows the style guidelines of this project - [x] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: keithCuniah <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: leiyre <[email protected]> Co-authored-by: frascuchon <[email protected]> Co-authored-by: Natalia Elvira <[email protected]> Co-authored-by: david <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c976cd0 - Browse repository at this point
Copy the full SHA c976cd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a0bdf - Browse repository at this point
Copy the full SHA f8a0bdfView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 9e5b995 - Browse repository at this point
Copy the full SHA 9e5b995View commit details
Commits on Mar 23, 2023
-
keithCuniah committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for f176709 - Browse repository at this point
Copy the full SHA f176709View commit details -
Merge branch 'feature/front-user-settings' into develop-for-deployment
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for b754214 - Browse repository at this point
Copy the full SHA b754214View commit details -
keithCuniah committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for e964c4e - Browse repository at this point
Copy the full SHA e964c4eView commit details -
remove last border in form group
leire committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for f271b8d - Browse repository at this point
Copy the full SHA f271b8dView commit details -
leire committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 9f901c8 - Browse repository at this point
Copy the full SHA 9f901c8View commit details -
change flex to grid user token component
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 529a7cb - Browse repository at this point
Copy the full SHA 529a7cbView commit details -
keithCuniah committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for fd32c90 - Browse repository at this point
Copy the full SHA fd32c90View commit details -
keithCuniah committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for d46a442 - Browse repository at this point
Copy the full SHA d46a442View commit details -
Merge branch 'feature/front-user-settings' of https://github.com/reco…
…gnai/rubrix into feature/front-user-settings
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 8c36a48 - Browse repository at this point
Copy the full SHA 8c36a48View commit details -
Merge branch 'feature/front-user-settings' into develop-for-deployment
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for eea5521 - Browse repository at this point
Copy the full SHA eea5521View commit details -
leire committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 7ab2b0f - Browse repository at this point
Copy the full SHA 7ab2b0fView commit details -
param size v-circle && css dropdown user
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for e9f4f3a - Browse repository at this point
Copy the full SHA e9f4f3aView commit details -
Merge branch 'feature/front-user-settings' of https://github.com/reco…
…gnai/rubrix into feature/front-user-settings
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 5561225 - Browse repository at this point
Copy the full SHA 5561225View commit details -
keithCuniah committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for ba16b80 - Browse repository at this point
Copy the full SHA ba16b80View commit details -
update title and description usertoken component
keithCuniah committedMar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for be55299 - Browse repository at this point
Copy the full SHA be55299View commit details -
keithCuniah committed
Mar 23, 2023 Configuration menu - View commit details
-
Copy full SHA for a4a11f8 - Browse repository at this point
Copy the full SHA a4a11f8View commit details
Commits on Mar 24, 2023
-
change breadcrumb "Datasets"=>"Home"
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for b31a7e0 - Browse repository at this point
Copy the full SHA b31a7e0View commit details -
remove last border and first border
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for f8a24b4 - Browse repository at this point
Copy the full SHA f8a24b4View commit details -
remove fetch user => get info from vuexorm auth
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 2c8840a - Browse repository at this point
Copy the full SHA 2c8840aView commit details -
keithCuniah committed
Mar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 2b13001 - Browse repository at this point
Copy the full SHA 2b13001View commit details -
keithCuniah committed
Mar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 2bdde55 - Browse repository at this point
Copy the full SHA 2bdde55View commit details -
keithCuniah committed
Mar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for aab4dcb - Browse repository at this point
Copy the full SHA aab4dcbView commit details -
keithCuniah committed
Mar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 8169615 - Browse repository at this point
Copy the full SHA 8169615View commit details -
remove disable state && manage undefined metrics
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for a92cb0d - Browse repository at this point
Copy the full SHA a92cb0dView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 1fa6a6e - Browse repository at this point
Copy the full SHA 1fa6a6eView commit details -
add spinner to baseFeedback component
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 64ef93f - Browse repository at this point
Copy the full SHA 64ef93fView commit details -
baseFeedback component if metrics are in pending && not show delete b…
…utton if pending metrics
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 42c38eb - Browse repository at this point
Copy the full SHA 42c38ebView commit details -
Merge branch 'feature/2117-rules-page-performance' of https://github.…
…com/recognai/rubrix into feature/2117-rules-page-performance
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 53c4844 - Browse repository at this point
Copy the full SHA 53c4844View commit details -
clean code && update feedback message
keithCuniah committedMar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for cfd8899 - Browse repository at this point
Copy the full SHA cfd8899View commit details -
keithCuniah committed
Mar 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 02091a9 - Browse repository at this point
Copy the full SHA 02091a9View commit details
Commits on Mar 27, 2023
-
dirty fix : ensure that the query change when dataset.query.text change
keithCuniah committedMar 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 828daca - Browse repository at this point
Copy the full SHA 828dacaView commit details -
keithCuniah committed
Mar 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 3e9e594 - Browse repository at this point
Copy the full SHA 3e9e594View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 5e905f6 - Browse repository at this point
Copy the full SHA 5e905f6View commit details -
Merge branch 'develop' into feature/2117-rules-page-performance
keithCuniah committedMar 27, 2023 Configuration menu - View commit details
-
Copy full SHA for dfd1a0c - Browse repository at this point
Copy the full SHA dfd1a0cView commit details -
keithCuniah committed
Mar 27, 2023 Configuration menu - View commit details
-
Copy full SHA for f4b4661 - Browse repository at this point
Copy the full SHA f4b4661View commit details
Commits on Mar 28, 2023
-
css update && feedback component
keithCuniah committedMar 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 5893446 - Browse repository at this point
Copy the full SHA 5893446View commit details -
keithCuniah committed
Mar 28, 2023 Configuration menu - View commit details
-
Copy full SHA for ea76b42 - Browse repository at this point
Copy the full SHA ea76b42View commit details -
keithCuniah committed
Mar 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 1d07121 - Browse repository at this point
Copy the full SHA 1d07121View commit details -
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 28, 2023 Configuration menu - View commit details
-
Copy full SHA for dc0f4d0 - Browse repository at this point
Copy the full SHA dc0f4d0View commit details -
Merge branch 'develop' into feature/2117-rules-page-performance
keithCuniah committedMar 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 1167d33 - Browse repository at this point
Copy the full SHA 1167d33View commit details
Commits on Mar 29, 2023
-
Merge branch 'develop' of https://github.com/recognai/rubrix into dev…
…elop
keithCuniah committedMar 29, 2023 Configuration menu - View commit details
-
Copy full SHA for b062d10 - Browse repository at this point
Copy the full SHA b062d10View commit details -
Merge branch 'develop' into feature/2117-rules-page-performance
keithCuniah committedMar 29, 2023 Configuration menu - View commit details
-
Copy full SHA for d4f949a - Browse repository at this point
Copy the full SHA d4f949aView commit details