Skip to content

Commit af8e8d5

Browse files
Merge pull request #2387 from adaptlearning/release/lessismore
0.9.0 Release
2 parents 169df20 + 71f855a commit af8e8d5

75 files changed

Lines changed: 708 additions & 247 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to the Adapt authoring tool are documented in this file.
55
**IMPORTANT**: For information on how to **correctly and safely** update your installation, please consult **INSTALL.md**.<br/>
66
_Note that we adhere to the [semantic versioning](http://semver.org/) scheme for release numbering._
77

8+
## [0.9.0] - 2019-07-15
9+
10+
Adds ability to remove plugins, removes unused user roles and latest bugfixes.
11+
12+
### Fixed
13+
- Performance regression when upgrading to v0.8.1 ([#2370](https://github.com/adaptlearning/adapt_authoring/issues/2370))
14+
- Block instruction not being saved ([#2373](https://github.com/adaptlearning/adapt_authoring/issues/2373))
15+
- Not able to select a transparent colour in theme picker ([#2358](https://github.com/adaptlearning/adapt_authoring/issues/2358))
16+
- Not able to specify a select option for theme variable ([#2358](https://github.com/adaptlearning/adapt_authoring/issues/2358))
17+
- No dashboard redirect on invalid page ([#2351](https://github.com/adaptlearning/adapt_authoring/issues/2351))
18+
- Image thumbnail not showing in component settings ([#2345](https://github.com/adaptlearning/adapt_authoring/issues/2345))
19+
- Non-localised text in asset mangement ([#2340](https://github.com/adaptlearning/adapt_authoring/issues/2340))
20+
- Theme variables aren't used in core Less files ([#2338](https://github.com/adaptlearning/adapt_authoring/issues/2338))
21+
- Import times out if course is missing an asset ([#2326](https://github.com/adaptlearning/adapt_authoring/issues/2326))
22+
- Text misaligned on headers ([#2276](https://github.com/adaptlearning/adapt_authoring/issues/2276))
23+
24+
### Added
25+
- Ability to remove plugins ([#928](https://github.com/adaptlearning/adapt_authoring/issues/928))
26+
- Remove unused user roles ([#1950](https://github.com/adaptlearning/adapt_authoring/issues/1950))
27+
828
## [0.8.1] - 2019-05-23
929

1030
Bugfix release.
@@ -602,6 +622,7 @@ Initial release.
602622
- Loading screen of death
603623
- Session cookie security issues
604624

625+
[0.9.0]: https://github.com/adaptlearning/adapt_authoring/compare/v0.8.1...v0.9.0
605626
[0.8.1]: https://github.com/adaptlearning/adapt_authoring/compare/v0.8.0...v0.8.1
606627
[0.8.0]: https://github.com/adaptlearning/adapt_authoring/compare/v0.7.1...v0.8.0
607628
[0.7.1]: https://github.com/adaptlearning/adapt_authoring/compare/v0.7.0...v0.7.1

frontend/src/core/less/app.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ html {
66

77
body {
88
background-color:@ui-content-color;
9-
color:@sidebar-color;
9+
color: @tertiary-color;
1010
}
1111

1212
#app {
@@ -65,7 +65,7 @@ span.error {
6565
> div {
6666
width: @loading-icon-size;
6767
height: @loading-icon-size;
68-
background-color: #263944;
68+
background-color: @tertiary-color;
6969
margin: 0 @loading-icon-size/3 0 @loading-icon-size/3;
7070

7171
border-radius: 100%;

frontend/src/core/less/colours.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
@sidebar-color: @tertiary-color;
4949
@sidebar-text-color: @primary-color;
5050
@sidebar-item-hover-color: lighten(@tertiary-color, 10%);
51-
@sidebar-item-hover-text-color: white;
51+
@sidebar-item-hover-text-color: @white;
5252
@sidebar-input-text-color: @white;
5353
@sidebar-input-placeholder-color: #9fa8ad;
5454
@sidebar-input-color: #627178;

frontend/src/core/less/columns.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/* Contains styling for columns */
22
.col-row {
33
zoom: 1;
4+
display: flex;
5+
align-items: center;
46
&:before, &:after {
57
content: "\0020"; display: block; height: 0; overflow: hidden;
68
}

frontend/src/core/less/sharedStyles.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
max-width: 800px;
5151
margin: 20px;
5252
border: 1px solid #d6f2f9;
53-
background-color: #fff;
53+
background-color: @white;
5454
> .inner {
5555
padding: 30px;
5656
form .form-group {

frontend/src/core/less/tables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.tb-title {
44
background-color: #9cabc4;
5-
color:#fff;
5+
color: @white;
66
text-align: center;
77
border-bottom: 1px gray solid;
88
padding: 24px 30px!important;

frontend/src/core/less/tags.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
div.tagsinput {
44
border:1px solid #CCC;
5-
background: #FFF;
5+
background: @white;
66
padding:5px;
77
overflow-y: auto;
88
border-radius: @button-radius;
@@ -61,7 +61,7 @@ div.tagsinput {
6161
padding: 4px 0 4px 0;
6262
margin: 2px 0 0 0;
6363
list-style: none;
64-
background-color: #ffffff;
64+
background-color: @white;
6565
border-color: #ccc;
6666
border-color: rgba(0, 0, 0, 0.2);
6767
border-style: solid;
@@ -189,6 +189,6 @@ div.tagsinput {
189189
.ui-widget-content .ui-state-focus,
190190
.ui-widget-header .ui-state-focus {
191191
background: #15a4fa;
192-
font-weight: bold;
193-
color: #fff;
192+
font-weight: @font-weight-bold;
193+
color: @white;
194194
}

frontend/src/core/models/blockModel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ define(function(require) {
3030
'_onScreen',
3131
'_isVisible',
3232
'_isHidden',
33+
'instruction',
3334
'_colorLabel'
3435
]
3536
});

frontend/src/modules/assetManagement/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ define(function(require) {
5151
}
5252

5353
function loadNewAssetView() {
54-
Origin.trigger('location:title:update', { title: 'New Asset' });
54+
Origin.trigger('location:title:update', { title: Origin.l10n.t('app.newasset')});
5555
Origin.sidebar.addView(new AssetManagementNewAssetSidebarView().$el);
5656
Origin.contentPane.setView(AssetManagementNewAssetView, { model: new AssetModel });
5757
}
@@ -60,7 +60,7 @@ define(function(require) {
6060
// Fetch existing asset model
6161
(new AssetModel({ _id: location })).fetch({
6262
success: function(model) {
63-
Origin.trigger('location:title:update', { title: 'Edit Asset' });
63+
Origin.trigger('location:title:update', { title: Origin.l10n.t('app.editasset')});
6464
Origin.sidebar.addView(new AssetManagementNewAssetSidebarView().$el);
6565
Origin.contentPane.setView(AssetManagementNewAssetView, { model: model });
6666
}

frontend/src/modules/assetManagement/less/asset.less

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
right: 0;
3737
overflow-x:hidden;
3838
text-align:center;
39-
background-color:#fff;
39+
background-color: @white;
4040

4141
&-inner {
4242
padding: 30px 15px;
@@ -74,7 +74,7 @@
7474
margin-bottom:30px;
7575
float:left;
7676
cursor:pointer;
77-
background-color:#fff;
77+
background-color: @white;
7878
border: 1px solid #d6f2f9;
7979
border-radius:3px;
8080
transition: all 0.3s;
@@ -100,7 +100,7 @@
100100
background-position:center;
101101
background-size:cover;
102102
background-repeat: no-repeat;
103-
background-color: white;
103+
background-color: @white;
104104
text-align:center;
105105
border: 1px solid #d6f2f9;
106106
border-left: none;
@@ -159,7 +159,7 @@
159159

160160
span.tag-value {
161161
margin: 5px;
162-
color:#fff;
162+
color: @white;
163163
padding: 3px;
164164
background-color:@primary-color;
165165
}
@@ -191,14 +191,14 @@
191191
border: none;
192192
border-radius: 3px;
193193
background: #627178;
194-
color: #fff;
194+
color: @white;
195195
}
196196
.modal & button {
197197
margin-left:-4px;
198198
color:#9cabc4;
199199
transition:color 0.3s;
200200
&:hover {
201-
color:#fff;
201+
color: @white;
202202
}
203203
}
204204
}
@@ -214,7 +214,7 @@
214214
top:40px;
215215
left:0px;
216216
z-index:5;
217-
background-color:#fff;
217+
background-color: @white;
218218
box-shadow:1px 2px 4px 0px #666;
219219
&-inner {
220220
padding:30px;
@@ -225,7 +225,8 @@
225225
position: absolute;
226226
top: 0px;
227227
right: 0;
228+
color: @primary-color;
228229
&:hover {
229-
color:#15a4fa;
230+
color: darken(@primary-color, 5%);
230231
}
231232
}

0 commit comments

Comments
 (0)