Skip to content

Commit 2d123f6

Browse files
committed
Prepare extension for 2.0.0-rc1 release.
1 parent fe27649 commit 2d123f6

File tree

3 files changed

+72
-14
lines changed

3 files changed

+72
-14
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ matrix:
2929
env:
3030
global:
3131
- EXTNAME="tierra/topicsolved"
32-
- SNIFF="1" # Should we run code sniffer on your code?
33-
- IMAGE_ICC="1" # Should we run icc profile sniffer on your images?
34-
- EPV="1" # Should we run EPV (Extension Pre Validator) on your code?
35-
- PHPBB_BRANCH="develop-ascraeus"
32+
- SNIFF="1" # Run code sniffer
33+
- IMAGE_ICC="1" # Run ICC profile sniffer on images
34+
- EPV="1" # Run EPV (Extension Pre Validator)
35+
- PHPBB_BRANCH="3.1.x"
3636

3737
install:
3838
- travis_retry composer install --dev --no-interaction --prefer-source
@@ -48,4 +48,4 @@ script:
4848
- sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
4949
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION; fi"
5050
- phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/travis/phpunit-$DB-travis.xml --bootstrap ./tests/bootstrap.php
51-
- sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.3.3' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
51+
- sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.3.3' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"

composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "phpbb-extension",
44
"description": "Allows posting questions, and accepting answers as solved.",
55
"homepage": "https://github.com/tierra/topicsolved",
6-
"version": "1.9.0",
6+
"version": "2.0.0-rc1",
77
"keywords": ["phpbb", "extension", "question", "answer", "solved"],
88
"license": "GPL-2.0",
99
"authors": [
@@ -27,6 +27,11 @@
2727
"display-name": "Topic Solved",
2828
"soft-require": {
2929
"phpbb/phpbb": "~3.1.3"
30+
},
31+
"version-check": {
32+
"host": "tierra.github.io",
33+
"directory": "/topicsolved",
34+
"filename": "versions.json"
3035
}
3136
}
32-
}
37+
}

readme.md

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

33
Allows posting questions, and accepting answers as solved.
44

5+
Solved indicators will be shown next to titles throughout forum and topic
6+
views. Mostly ideal for support forums, but can be customized for marking
7+
topics for other purposes such as classifieds being marked as sold.
8+
9+
This is an update of the phpBB 3.0.x Topic Solved MOD, written by Jari Kanerva.
10+
511
[![Travis](https://img.shields.io/travis/tierra/topicsolved.svg)](https://travis-ci.org/tierra/topicsolved)
612
[![Scrutinizer](https://img.shields.io/scrutinizer/g/tierra/topicsolved.svg)](https://scrutinizer-ci.com/g/tierra/topicsolved/?branch=master)
713

8-
## Quick Install
14+
## Features
15+
16+
* Solved indicators show in the following locations:
17+
* Forum View
18+
* Topic View
19+
* Search Results (both Post and Topic views)
20+
* MCP Forum View
21+
* Use custom text indicator instead of default image.
22+
* Custom text indicators can use custom color.
23+
* Only topic author or moderator can solve topics.
24+
* Can be locked to only moderator access for solving topics.
25+
* Solving topics may be set to automatically lock the topic.
26+
* All settings can be customized per-forum.
27+
28+
## Translations
29+
30+
This extension comes bundled with support for the following languages:
31+
32+
* Czech (cz)
33+
* Dutch (nl)
34+
* English (en)
35+
* French (fr)
36+
* Japanese (ja)
37+
* Russian (ru)
38+
* Spanish (es)
39+
* Swedish (sv)
40+
41+
## Supported Styles
942

10-
You can install this on the latest release of phpBB by following the steps below:
43+
Most phpBB 3.1.x styles should work with this extension out of the box,
44+
however, some styles require additional changes for full functionality. If your
45+
style does not work correctly, you can request support for your style from the
46+
[Issue Tracker][]. The following styles are explicitly supported:
47+
48+
* prosilver
49+
* subsilver2
50+
* pbtech
51+
52+
## Requirements
53+
54+
* PHP 5.3.3+
55+
* phpBB 3.1.3+
56+
57+
## Install
58+
59+
You can install this extension in phpBB by following the steps below:
1160

1261
1. [Download the latest release](https://github.com/tierra/topicsolved/releases).
1362
2. Unzip the downloaded release, and change the name of the folder to
1463
`topicsolved`.
1564
3. In the `ext` directory of your phpBB board, create a new directory named
1665
`tierra` (if it does not already exist).
1766
4. Copy the `topicsolved` directory to `phpBB/ext/tierra/` (if done correctly,
18-
you'll have the main composer JSON file at
19-
(your forum root)/ext/tierra/topicsolved/composer.json).
67+
this readme file should be located at:
68+
`phpBB/ext/tierra/topicsolved/readme.md`).
2069
5. Navigate in the ACP to `Customise -> Manage extensions`.
2170
6. Look for `Topic Solved` under the Disabled Extensions list, and click its
2271
`Enable` link.
@@ -31,9 +80,13 @@ You can install this on the latest release of phpBB by following the steps below
3180

3281
## Support
3382

34-
* Report bugs and other issues to our
35-
[Issue Tracker](https://github.com/tierra/topicsolved/issues).
83+
Please report bugs and other issues to the [Issue Tracker][].
84+
85+
[Issue Tracker]: https://github.com/tierra/topicsolved/issues
3686

3787
## License
3888

39-
[GNU General Public License v2](http://opensource.org/licenses/GPL-2.0)
89+
The phpBB Topic Solved extension is released under the
90+
[GNU General Public License v2][GPL-2.0].
91+
92+
[GPL-2.0]: http://opensource.org/licenses/GPL-2.0

0 commit comments

Comments
 (0)