Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit a486468

Browse files
authored
4.4.5 (#183)
* Changes... - Update citeproc - Update docker-compose file - Add a few styles * Make issued date optional for webpage citation type * Changes... - Build version 4.4.5 - Add the following styles: National Institute of Technology Karnataka, Palaeovertebrata, Vigiliae Christianae * Improve error messages
1 parent 09ee367 commit a486468

File tree

11 files changed

+68
-28
lines changed

11 files changed

+68
-28
lines changed

ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Please use this template for all bug reports. -->
22
<!-- Before submitting an issue, please try disabling all other plugins to ensure the issue is isolated within ABT -->
33

4-
**ABT Version:** 4.4.4
4+
**ABT Version:** 4.4.5
55

66
<!-- Which version of PHP are you using with your WordPress installation? -->
77
**PHP Version:** 5.6

docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
services:
33
wordpress:
4-
image: dsifford/wordpress
4+
image: dsifford/wordpress:apache-next
55
links:
66
- db
77
ports:
@@ -14,10 +14,11 @@ services:
1414
DB_PASS: root
1515
WP_DEBUG: 'true'
1616
PLUGINS: >-
17+
[local]academic-bloggers-toolkit,
1718
co-authors-plus,
1819
log-deprecated-notices,
1920
piglatin,
20-
query-monitor
21+
query-monitor,
2122
db:
2223
image: mysql:5.7
2324
ports:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "academic-bloggers-toolkit",
3-
"version": "4.4.4",
3+
"version": "4.4.5",
44
"description": "A plugin extending the functionality of WordPress for Academic Blogging.",
55
"main": "index.js",
66
"scripts": {

scripts/fixtures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ exports.ABT_i18n = {
14871487
{
14881488
"value": "issued",
14891489
"label": "Date",
1490-
"required": true,
1490+
"required": false,
14911491
"pattern": "[0-9]{4}(\\/[0-9]{2})?(\\/[0-9]{2})?(?!\\/)$",
14921492
"placeholder": "YYYY/MM/DD or YYYY/MM or YYYY"
14931493
},

src/academic-bloggers-toolkit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* Plugin Name: Academic Blogger's Toolkit
55
* Plugin URI: https://wordpress.org/plugins/academic-bloggers-toolkit/
66
* Description: A plugin extending the functionality of Wordpress for academic blogging
7-
* Version: 4.4.4
7+
* Version: 4.4.5
88
* Author: Derek P Sifford
99
* Author URI: https://github.com/dsifford
1010
* License: GPL3 or later
1111
* Text Domain: academic-bloggers-toolkit
1212
*/
1313

14-
define('ABT_VERSION', '4.4.4');
14+
define('ABT_VERSION', '4.4.5');
1515

1616

1717
/**

src/academic-bloggers-toolkit.pot

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (C) 2016 Academic Blogger's Toolkit 4.4.4
2-
# This file is distributed under the same license as the Academic Blogger's Toolkit 4.4.4 package.
1+
# Copyright (C) 2016 Academic Blogger's Toolkit 4.4.5
2+
# This file is distributed under the same license as the Academic Blogger's Toolkit 4.4.5 package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Academic Blogger's Toolkit 4.4.4\n"
5+
"Project-Id-Version: Academic Blogger's Toolkit 4.4.5\n"
66
"Report-Msgid-Bugs-To: https://github.com/dsifford/academic-bloggers-toolkit/issues\n"
77
"MIME-Version: 1.0\n"
88
"Content-Type: text/plain; charset=UTF-8\n"
@@ -11,6 +11,7 @@ msgstr ""
1111
"Last-Translator: Derek P Sifford <dereksifford@gmail.com>\n"
1212
"Language-Team: Derek P Sifford <dereksifford@gmail.com>\n"
1313
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
14+
1415
#: academic-bloggers-toolkit.php:83
1516
msgid "Plugin Settings"
1617
msgstr ""

src/lib/js/reference-list/components/ReferenceList.tsx

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ export class ReferenceList extends React.Component<{store: Store}, {}> {
138138
.catch(err => {
139139
Rollbar.error('ReferenceList.tsx -> initProcessor', err);
140140
console.error(err.message);
141-
this.editor.windowManager.alert(err.message);
141+
this.editor.windowManager.alert(
142+
`An unexpected error occurred.\n\n` +
143+
`Error: ${err.message}\n\n` +
144+
`Please report this here:\nhttps://github.com/dsifford/academic-bloggers-toolkit/issues`
145+
);
142146
});
143147
}
144148

@@ -205,7 +209,11 @@ export class ReferenceList extends React.Component<{store: Store}, {}> {
205209
.catch(err => {
206210
Rollbar.error('ReferenceList.tsx -> insertStaticBibliography', err);
207211
console.error(err.message);
208-
this.editor.windowManager.alert(err.message);
212+
this.editor.windowManager.alert(
213+
`An unexpected error occurred.\n\n` +
214+
`Error: ${err.message}\n\n` +
215+
`Please report this here:\nhttps://github.com/dsifford/academic-bloggers-toolkit/issues`
216+
);
209217
});
210218
}
211219

@@ -260,7 +268,11 @@ export class ReferenceList extends React.Component<{store: Store}, {}> {
260268
.catch(err => {
261269
Rollbar.error('ReferenceList.tsx -> insertInlineCitation', err);
262270
console.error(err.message);
263-
this.editor.windowManager.alert(err.message);
271+
this.editor.windowManager.alert(
272+
`An unexpected error occurred.\n\n` +
273+
`Error: ${err.message}\n\n` +
274+
`Please report this here:\nhttps://github.com/dsifford/academic-bloggers-toolkit/issues`
275+
);
264276
});
265277

266278
this.clearSelection();
@@ -307,7 +319,11 @@ export class ReferenceList extends React.Component<{store: Store}, {}> {
307319
.catch(err => {
308320
Rollbar.error('ReferenceList.tsx -> openReferenceWindow', err);
309321
console.error(err.message);
310-
this.editor.windowManager.alert(err.message);
322+
this.editor.windowManager.alert(
323+
`An unexpected error occurred.\n\n` +
324+
`Error: ${err.message}\n\n` +
325+
`Please report this here:\nhttps://github.com/dsifford/academic-bloggers-toolkit/issues`
326+
);
311327
});
312328
});
313329
}
@@ -319,7 +335,11 @@ export class ReferenceList extends React.Component<{store: Store}, {}> {
319335
}).catch(err => {
320336
Rollbar.error('ReferenceList.tsx -> openImportWindow', err);
321337
console.error(err.message);
322-
this.editor.windowManager.alert(err.message);
338+
this.editor.windowManager.alert(
339+
`An unexpected error occurred.\n\n` +
340+
`Error: ${err.message}\n\n` +
341+
`Please report this here:\nhttps://github.com/dsifford/academic-bloggers-toolkit/issues`
342+
);
323343
});
324344
}
325345

src/lib/php/fieldmaps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@
13011301
[
13021302
'value' => 'issued',
13031303
'label' => __('Date', 'academic-bloggers-toolkit'),
1304-
'required' => true,
1304+
'required' => false,
13051305
'pattern' => '[0-9]{4}(\/[0-9]{2})?(\/[0-9]{2})?(?!\/)$',
13061306
'placeholder' => __('YYYY/MM/DD or YYYY/MM or YYYY', 'academic-bloggers-toolkit'),
13071307
],

src/readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://cash.me/$dsifford
44
Tags: academia, academic, bibliographies, bibliography, citation, citations, cite, citing, CSL, curriculum vitae, cv, doi, endnote, footnote, footnotes, journal, mendeley, papers, pmid, publications, publish, pubmed, reference, reference list, reference manager, references, referencing, ris, scholar, scholarly, zotero
55
Requires at least: 4.2.2
66
Tested up to: 4.6
7-
Stable tag: 4.4.4
7+
Stable tag: 4.4.5
88
License: GPL3 or later
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -48,6 +48,10 @@ Yikes! I'm sorry about that. Please report all issues on the Academic Blogger's
4848

4949
== Changelog ==
5050

51+
= 4.4.5 =
52+
53+
[Click here](https://headwayapp.co/academic-bloggers-toolkit-changelog) to view changes.
54+
5155
= 4.4.4 =
5256

5357
[Click here](https://headwayapp.co/academic-bloggers-toolkit-changelog) to view changes.

src/vendor/citationstyles.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)