/dports/www/gitea/gitea-1.16.5/models/fixtures/ |
H A D | repo_unit.yml | 3 repo_id: 1 10 repo_id: 1 17 repo_id: 1 24 repo_id: 1 31 repo_id: 1 38 repo_id: 3 45 repo_id: 3 52 repo_id: 3 59 repo_id: 3 66 repo_id: 3 [all …]
|
H A D | access.yml | 4 repo_id: 3 10 repo_id: 5 16 repo_id: 24 22 repo_id: 32 28 repo_id: 3 34 repo_id: 4 40 repo_id: 40 46 repo_id: 21 52 repo_id: 22 58 repo_id: 23 [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/scripts/sql/mysql/ |
H A D | seafile.sql | 4 repo_id CHAR(41), field 11 repo_id CHAR(40), field 13 UNIQUE INDEX(repo_id) 23 KEY(repo_id) 32 INDEX(repo_id) 37 repo_id CHAR(36), field 48 INDEX(repo_id) 53 repo_id CHAR(36), field 60 repo_id CHAR(36), field 66 repo_id CHAR(37), field [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/python/seaserv/ |
H A D | api.py | 75 def check_passwd(self, repo_id, magic): argument 81 def unset_passwd(self, repo_id, user): argument 95 def get_repo(self, repo_id): argument 101 def remove_repo(self, repo_id): argument 125 def get_repo_owner(self, repo_id): argument 145 def get_repo_size(self, repo_id): argument 180 def get_repo_status (self, repo_id): argument 543 if repo_id == '': 545 l.append(repo_id) 552 r = self.get_repo(repo_id) [all …]
|
H A D | service.py | 331 def get_repo(repo_id): argument 352 def remove_repo(repo_id): argument 412 repo_id = None 414 return repo_id 416 def is_org_repo(repo_id): argument 491 def get_branches(repo_id): argument 532 if repo_id == '': 552 if not repo_id: 589 if not repo_id: 843 if repo.repo_id == repo_id: [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/scripts/sql/sqlite/ |
H A D | seafile.sql | 1 … TABLE IF NOT EXISTS Branch (name VARCHAR(10), repo_id CHAR(40), commit_id CHAR(40), PRIMARY KEY (… field 2 CREATE TABLE IF NOT EXISTS Repo (repo_id CHAR(37) PRIMARY KEY); field 8 CREATE INDEX IF NOT EXISTS repogroup_repoid_index on RepoGroup (repo_id); 13 CREATE UNIQUE INDEX IF NOT EXISTS repoid_indx on OrgRepo (repo_id); 14 CREATE INDEX IF NOT EXISTS orgid_repoid_indx on OrgRepo (org_id, repo_id); 19 CREATE INDEX IF NOT EXISTS org_repoid_index on OrgGroupRepo (repo_id); 21 …OT EXISTS OrgInnerPubRepo (org_id INTEGER, repo_id CHAR(37), permission CHAR(15), PRIMARY KEY (org… field 34 CREATE TABLE IF NOT EXISTS GarbageRepos (repo_id CHAR(36) PRIMARY KEY); field 54 CREATE INDEX IF NOT EXISTS FileLocksIndex ON FileLocks (repo_id); 57 CREATE INDEX IF NOT EXISTS RepoIdIndex on SharedRepo (repo_id); [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/share/ |
H A D | utils.py | 13 def is_repo_admin(username, repo_id): argument 18 get_user_permission(repo_id, username) 31 repo_owner = seafile_api.get_repo_owner(repo_id) or seafile_api.get_org_repo_owner(repo_id) 33 logger.error('repo %s owner is None' % repo_id) 120 repo_id, owner, share_to, permission) 140 org_id, gid, repo_id, permission) 219 repo_owner = seafile_api.get_repo_owner(repo_id) 227 def has_shared_to_group(repo_id, path, gid, org_id=None): argument 233 repo_owner, repo_id) 236 repo_id, path, repo_owner) [all …]
|
H A D | models.py | 99 username=username, repo_id=repo_id, path=path, token=token, 174 repo_id=repo_id, share_to=username 195 repo_id=repo_id, permission=PERMISSION_ADMIN 218 self.model(repo_id=repo_id, share_to=username, 235 repo_id=repo_id, group_id=gid 256 repo_id=repo_id, permission='admin' 531 from_user=from_user, to_user=to_user, repo_id=repo_id, 550 to_user=to_user, repo_id=repo_id, s_type='d') 570 FileShare.objects.filter(repo_id=repo_id).delete() 571 UploadLinkShare.objects.filter(repo_id=repo_id).delete() [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/python/seafile/ |
H A D | rpcclient.py | 20 def seafile_get_repo(repo_id): argument 25 def seafile_destroy_repo(repo_id): argument 55 def seafile_get_repo_owner(repo_id): argument 348 def get_group_repo_owner(repo_id): argument 362 def seafile_branch_gets(repo_id): argument 464 def check_quota(repo_id, delta): argument 523 def get_org_repo_owner(repo_id): argument 561 def unset_inner_pub_repo(repo_id): argument 577 def is_inner_pub_repo(repo_id): argument 640 def del_repo_from_trash(repo_id): argument [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/include/ |
H A D | seafile-rpc.h | 140 int seafile_edit_repo (const gchar *repo_id, 243 GList * seafile_list_dir (const char *repo_id, 298 seafile_clone (const char *repo_id, 315 seafile_download (const char *repo_id, 629 seafile_check_passwd (const char *repo_id, 634 seafile_set_passwd (const char *repo_id, 640 seafile_unset_passwd (const char *repo_id, 752 seafile_del_file (const char *repo_id, 793 seafile_rename_file (const char *repo_id, 851 seafile_revert_file (const char *repo_id, [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/ |
H A D | dir_shared_items.py | 63 repo_owner, repo_id) 66 repo_id, path, repo_owner) 100 repo_owner, repo_id) 103 repo_id, path, repo_owner) 168 def get_repo_owner(self, request, repo_id): argument 196 def get(self, request, repo_id, format=None): argument 199 repo = seafile_api.get_repo(repo_id) 223 repo = seafile_api.get_repo(repo_id) 291 def put(self, request, repo_id, format=None): argument 293 repo = seafile_api.get_repo(repo_id) [all …]
|
H A D | group_owned_libraries.py | 51 repo = seafile_api.get_repo(repo_id) 54 repo_info['id'] = repo_id 149 repo_id=repo_id, repo_name=repo_name, 153 repo = seafile_api.get_repo(repo_id) 185 repo = seafile_api.get_repo(repo_id) 251 result['repo_id'] = repo_id 260 def get(self, request, repo_id): argument 461 def delete(self, request, repo_id): argument 523 result['repo_id'] = repo_id 836 def get(self, request, repo_id): argument [all …]
|
H A D | repo_api_tokens.py | 26 'repo_id': repo_token_obj.repo_id, 39 def get(self, request, repo_id): argument 41 repo = seafile_api.get_repo(repo_id) 52 rats = RepoAPITokens.objects.filter(repo_id=repo_id).order_by('-generated_at') 56 def post(self, request, repo_id): argument 69 repo = seafile_api.get_repo(repo_id) 80 rat = RepoAPITokens.objects.filter(app_name=app_name, repo_id=repo_id).first() 86 repo_id=repo_id, 104 repo = seafile_api.get_repo(repo_id) 116 rat = RepoAPITokens.objects.filter(repo_id=repo_id, app_name=app_name).first() [all …]
|
/dports/net-mgmt/seafile-gui/seafile-client-7.0.9/src/filebrowser/ |
H A D | data-mgr.h | 47 bool getDirents(const QString& repo_id, 55 void createDirectory(const QString &repo_id, 58 void renameDirent(const QString &repo_id, 63 void lockFile(const QString &repo_id, 67 void removeDirent(const QString &repo_id, 71 void removeDirents(const QString &repo_id, 75 void shareDirent(const QString &repo_id, 79 void copyDirents(const QString &repo_id, 85 void moveDirents(const QString &repo_id, 116 if (!isRepoPasswordSet(repo_id)) in repoPassword() [all …]
|
H A D | thumbnail-service.cpp | 40 QString repo_id; member 46 return repo_id == key.repo_id && in operator ==() 56 const QString key_str = key.repo_id + in qHash() 68 void enqueue(const QString& repo_id, in enqueue() argument 74 key.repo_id = repo_id; in enqueue() 99 key.repo_id = repo_id; in enqueueAndBackoff() 116 key.repo_id = repo_id; in clearWait() 132 key.repo_id = iter.peekNext().repo_id; in tick() 146 key_default.repo_id = QString(); in dequeue() 343 QString repo_id = key.repo_id; in checkPendingRequests() local [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/server/ |
H A D | repo-mgr.h | 20 char repo_id[37]; member 131 const char *repo_id, 230 const char *repo_id, 313 const char *repo_id, 347 const char *repo_id, 375 const char *repo_id, 398 const char *repo_id, 422 const char *repo_id, 548 const char *repo_id, 824 seaf_repo_manager_edit_repo (const char *repo_id, [all …]
|
H A D | repo-mgr.c | 289 char *repo_id; in scan_trash() local 625 2, "string", repo_id, "string", repo_id); in seaf_repo_manager_del_repo() 2137 2, "string", repo_id, "string", repo_id); in seaf_repo_manager_set_repo_owner() 3191 char *repo_id; in seaf_fill_repo_obj_from_commit() local 3739 return repo_id; in seaf_repo_manager_create_new_repo() 3742 if (repo_id) in seaf_repo_manager_create_new_repo() 3759 if (!repo_id || !is_uuid_valid (repo_id)) { in seaf_repo_manager_create_enc_repo() 4497 char *repo_id; member 4513 rp->repo_id = g_strdup(repo_id); in convert_repo_path_cb() 4553 res.repo_id = rp->repo_id; in filter_path() [all …]
|
/dports/www/seahub/seahub-8.0.7-server/tests/seahub/base/ |
H A D | test_models.py | 11 self.repo_id = self.repo.id 19 o = FileComment.objects.add(repo_id=self.repo_id, parent_path='/foo/bar', 30 repo_id=self.repo_id, file_path='/foo/bar/test.txt', 37 o1 = FileComment.objects.add(repo_id=self.repo_id, parent_path='/foo/bar/', 41 o2 = FileComment.objects.add(repo_id=self.repo_id, parent_path='/foo/bar', 48 o1 = FileComment.objects.add(repo_id=self.repo_id, parent_path='/foo/bar/', 52 o2 = FileComment.objects.add(repo_id=self.repo_id, parent_path='/foo/bar', 63 self.repo_id = self.repo.id 69 md5 = FileUUIDMap.md5_repo_id_parent_path(self.repo_id, '/') 72 md5 = FileUUIDMap.md5_repo_id_parent_path(self.repo_id, '/foo') [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/utils/ |
H A D | repo.py | 100 def get_repo_owner(request, repo_id): argument 112 def is_repo_owner(request, repo_id, username): argument 241 def get_shared_groups_by_repo(repo_id, org_id=None): argument 244 repo_id) 247 repo_id) 276 owner = seafile_api.get_repo_owner(repo_id) 293 def is_valid_repo_id_format(repo_id): argument 294 return len(repo_id) == 36 324 repo_owner = get_repo_owner(request, repo_id) 332 def repo_has_been_shared_out(request, repo_id): argument [all …]
|
H A D | rpc.py | 78 org_id, repo_owner, repo_id) 81 org_id, repo_id, path, repo_owner) 87 repo_id, path, repo_owner) 100 org_id, repo_id, path, repo_owner, to_user) 106 repo_id, path, repo_owner, to_user) 114 org_id, repo_owner, repo_id) 117 org_id, repo_id, path, repo_owner) 121 repo_owner, repo_id) 124 repo_id, path, repo_owner) 138 seafile_api.unset_group_repo(repo_id, group_id, [all …]
|
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/common/ |
H A D | rpc-service.c | 349 if (!repo_id || !is_uuid_valid(repo_id)) { in seafile_get_commit() 1282 if (!repo_id || strlen(repo_id) != 36) { in seafile_server_repo_size() 1306 if (!repo_id || !is_uuid_valid (repo_id)) { in seafile_set_repo_history_limit() 1330 if (!repo_id || !is_uuid_valid (repo_id)) { in seafile_get_repo_history_limit() 2282 if (!repo_id || strlen(repo_id) != 36 || !user) { in seafile_unset_passwd() 2300 if (!repo_id || strlen(repo_id) != 36 || !user) { in seafile_is_passwd_set() 2338 if (!repo_id || strlen(repo_id) != 36 || in seafile_revert_on_server() 3302 if (!repo_id || !is_uuid_valid(repo_id)) { in seafile_list_file_blocks() 3375 if (!repo_id || !is_uuid_valid(repo_id)) { in seafile_list_dir() 3806 if (!repo_id || !is_uuid_valid (repo_id)) { in seafile_list_dir_with_perm() [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/tags/ |
H A D | models.py | 35 repo_id, parent_path = self.model.get_origin_repo_id_and_parent_path(repo_id, parent_path) 38 uuid = self.model(repo_id=repo_id, parent_path=parent_path, 53 repo_id, parent_path = self.model.get_origin_repo_id_and_parent_path(repo_id, parent_path) 65 repo_id, parent_path = self.model.get_origin_repo_id_and_parent_path(repo_id, parent_path) 68 repo_id=repo_id, parent_path=parent_path 189 repo_id = models.CharField(max_length=36, db_index=True) variable in FileUUIDMap 197 def md5_repo_id_parent_path(cls, repo_id, parent_path): argument 207 repo = seafile_api.get_repo(repo_id) 209 repo_id = repo.origin_repo_id 211 return repo_id, parent_path [all …]
|
/dports/net-mgmt/seafile-client/seafile-7.0.9/daemon/ |
H A D | filelock-mgr.c | 62 const char *repo_id, *path; in load_locked_files() local 131 char *repo_id = user_data; in init_locks() local 147 char *repo_id; in seaf_filelock_manager_start() local 154 repo_id = key; in seaf_filelock_manager_start() 458 int ret = update_db (mgr, repo_id); in seaf_filelock_manager_update() 473 repo_id, timestamp); in seaf_filelock_manager_update_timestamp() 493 repo_id); in seaf_filelock_manager_get_timestamp() 564 const char *repo_id, in mark_file_locked_in_db() argument 625 refresh_locked_path_status (repo_id, path); in seaf_filelock_manager_mark_file_locked() 697 const char *repo_id, *path; in collect_auto_locked_files() local [all …]
|
/dports/net-mgmt/seafile-client/seafile-7.0.9/lib/ |
H A D | seafile-rpc-wrapper.c | 41 g_return_val_if_fail (client && repo_id, -1); in seafile_destroy_repo() 45 1, "string", repo_id); in seafile_destroy_repo() 50 const char *repo_id, in seafile_set_repo_token() argument 58 2, "string", repo_id, "string", token); in seafile_set_repo_token() 63 const char *repo_id, in seafile_get_repo_token() argument 70 1, "string", repo_id); in seafile_get_repo_token() 85 const char *repo_id, in seafile_get_repo() argument 92 1, "string", repo_id); in seafile_get_repo() 97 const char *repo_id, in seafile_set_repo_property() argument 111 const char *repo_id, in seafile_get_repo_property() argument [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/admin/ |
H A D | libraries.py | 49 result['id'] = repo.repo_id 218 "id": repo_id, 302 repo_id=repo_id, repo_name=repo.name) 311 "id": repo_id, 373 repo_id 412 repo_owner, repo_id) 414 repo_owner, repo_id) 447 … FileShare.objects.filter(username=repo_owner, repo_id=repo_id).update(username=new_owner) 465 "id": repo_id, 511 repo_id = repo.repo_id [all …]
|