Commit a2e7c38
committed
chore: add EncodedId string class to use to hold URL-encoded paths
Add EncodedId string class. This class returns a URL-encoded string
but ensures it will only URL-encode it once even if recursively
called.
Also added some functional tests of 'lazy' objects to make sure they
work.1 parent 12435d7 commit a2e7c38Copy full SHA for a2e7c38
File tree
Expand file treeCollapse file tree
9 files changed
+180
-11
lines changedOpen diff view settings
Filter options
- gitlab
- v4/objects
- tests
- functional
- api
- unit
Expand file treeCollapse file tree
9 files changed
+180
-11
lines changedOpen diff view settings
Collapse file
+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
542 | 542 | |
543 | 543 | |
544 | 544 | |
545 | | - |
546 | | - |
| 545 | + |
547 | 546 | |
548 | 547 | |
549 | 548 | |
| ||
573 | 572 | |
574 | 573 | |
575 | 574 | |
576 | | - |
577 | | - |
| 575 | + |
578 | 576 | |
579 | 577 | |
580 | 578 | |
|
Collapse file
+64-4Lines changed: 64 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
59 | 119 | |
60 | 120 | |
61 | 121 | |
62 | 122 | |
63 | 123 | |
64 | 124 | |
65 | | - |
| 125 | + |
66 | 126 | |
67 | 127 | |
68 | 128 | |
69 | | - |
| 129 | + |
70 | 130 | |
71 | 131 | |
72 | 132 | |
| ||
84 | 144 | |
85 | 145 | |
86 | 146 | |
87 | | - |
| 147 | + |
88 | 148 | |
89 | | - |
| 149 | + |
90 | 150 | |
91 | 151 | |
92 | 152 | |
|
Collapse file
gitlab/v4/objects/merge_request_approvals.py
Copy file name to clipboardExpand all lines: gitlab/v4/objects/merge_request_approvals.py+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
| 78 | + |
79 | 79 | |
80 | 80 | |
81 | 81 | |
|
Collapse file
tests/functional/api/test_groups.py
Copy file name to clipboardExpand all lines: tests/functional/api/test_groups.py+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
100 | 100 | |
101 | 101 | |
102 | 102 | |
| 103 | + |
103 | 104 | |
104 | 105 | |
105 | 106 | |
| ||
198 | 199 | |
199 | 200 | |
200 | 201 | |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
201 | 207 | |
202 | 208 | |
203 | 209 | |
|
Collapse file
tests/functional/api/test_lazy_objects.py
Copy file name to clipboard+39Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
Collapse file
tests/functional/api/test_wikis.py
Copy file name to clipboardExpand all lines: tests/functional/api/test_wikis.py-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
9 | 8 | |
10 | 9 | |
11 | 10 | |
|
Collapse file
tests/functional/conftest.py
Copy file name to clipboardExpand all lines: tests/functional/conftest.py+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
406 | 406 | |
407 | 407 | |
408 | 408 | |
409 | | - |
| 409 | + |
| 410 | + |
410 | 411 | |
411 | 412 | |
412 | 413 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
158 | 158 | |
159 | 159 | |
160 | 160 | |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
161 | 165 | |
162 | 166 | |
163 | 167 | |
|
Collapse file
+62Lines changed: 62 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
| 19 | + |
18 | 20 | |
19 | 21 | |
20 | 22 | |
| ||
35 | 37 | |
36 | 38 | |
37 | 39 | |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
0 commit comments