比較提交

..

31 次程式碼提交
4.0 ... main

作者 SHA1 備註 日期
3f214a3cd3 New Api Version
已通過所有檢查
Workflow / Linting (push) Successful in 7s
Workflow / Release (push) Successful in 9s
2024-11-24 15:25:25 +01:00
d9ab607b4c Update Readme Badges
已通過所有檢查
Workflow / Linting (push) Successful in 7s
Workflow / Release (push) Has been skipped
2024-09-20 13:54:38 +02:00
92882f9de1 Merge pull request 'Implement Gitea Workflow' (#8) from implement-gitea-workflow into main
已通過所有檢查
Workflow / Linting (push) Successful in 7s
Workflow / Release (push) Has been skipped
Reviewed-on: #8
2024-09-20 11:43:10 +00:00
a64f7525d0 Add status to readme
已通過所有檢查
Workflow / Linting (push) Successful in 7s
Workflow / Release (push) Has been skipped
2024-09-20 13:42:26 +02:00
fa78082738 Implement Gitea Workflow
已通過所有檢查
Workflow / Linting (push) Successful in 7s
Workflow / Release (push) Has been skipped
2024-09-20 13:29:05 +02:00
9b655c1848 Add version status to readme, tag v16 due to an upload fail in esoui
已通過所有檢查
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2024-09-20 00:06:54 +02:00
fba862a1ef Fix Bracket-Style
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-09-19 22:43:07 +02:00
c5a82f86c9 New Api Version 2024-09-19 22:29:02 +02:00
341f07a0f6 New Api Version
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-08-27 21:11:14 +02:00
bead07a0cf New Api Version
已通過所有檢查
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2023-08-12 16:39:57 +02:00
407dc14298 New Api Version
已通過所有檢查
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2023-03-28 17:43:12 +02:00
7b9de40e57 New Api Version
已通過所有檢查
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2022-08-31 22:39:30 +02:00
450cad90b9 New Api Version
已通過所有檢查
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2022-07-18 20:04:11 +02:00
739352c641 New Api Version
一些檢查回報了錯誤
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
2022-03-30 21:23:07 +02:00
6ccaa69b5a New Api Version
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2021-11-18 20:40:07 +01:00
6ae87cea64 New Api Version
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2021-08-26 12:36:56 +02:00
f9d3cf6e84 Fixing typos
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-07 20:58:05 +02:00
0d5248671f New Api Version 2021-06-07 20:58:00 +02:00
Florian Brinker
634f7b5c6d Fix ShowDetails not working properly
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-20 16:03:01 +01:00
Florian Brinker
affde86fa9 New Api Version
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-12 18:01:08 +01:00
53bc660b7c Add Download and Favorites Badge
已通過所有檢查
continuous-integration/drone/push Build is passing
2020-11-02 21:53:06 +00:00
Florian Brinker
ec7939be37 Fix Linting for new global method
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-11-02 22:10:33 +01:00
de1cb88ca8 Fix Typo
一些檢查失敗了
continuous-integration/drone/push Build is failing
2020-11-02 21:08:29 +00:00
Florian Brinker
176a0ccf91 Fix a bug with gendered labels
一些檢查失敗了
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2020-11-02 21:53:39 +01:00
Florian Brinker
fde8966292 New Api Version
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-11-02 20:23:24 +01:00
Florian Brinker
90332bac93 Remove screenshots from build
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-08-25 09:56:37 +02:00
Florian Brinker
014300b239 New Api version
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-08-25 09:52:01 +02:00
b55d263f25 Add description and screenshot
已通過所有檢查
continuous-integration/drone/push Build is passing
2020-06-07 20:52:50 +00:00
7c530dc0a1 Remove screenshots from build
已通過所有檢查
continuous-integration/drone/push Build is passing
2020-06-07 20:50:42 +00:00
c9ac569694 Dateien hochladen nach „screenshots“
已通過所有檢查
continuous-integration/drone/push Build is passing
2020-06-07 20:49:39 +00:00
Florian Brinker
35abf9337b Fix typo
已通過所有檢查
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-06-07 20:03:56 +02:00
共有 12 個檔案被更改,包括 103 行新增73 行删除

查看文件

@ -1,3 +0,0 @@
{
"url": "https://drone.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/"
}

查看文件

@ -1,58 +0,0 @@
---
kind: pipeline
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources
- cd sources && git checkout $DRONE_COMMIT
- name: lint
image: alpine
commands:
- apk update
- apk add --no-cache build-base curl unzip
- apk add --no-cache lua5.1 lua5.1-dev luarocks5.1
- luarocks-5.1 install luacheck
- cd sources
- luacheck ./*.lua
- name: build
image: alpine
commands:
- apk update && apk add --no-cache zip
# Delete unneeded files/dirs
- rm -rf sources/.git
- rm -f sources/.drone.status
- rm -f sources/.drone.yml
- rm -f sources/.luacheckrc
# Set Version and AddonVersion
- export VERSION=$DRONE_TAG
- export ADDON_VERSION=$(echo $DRONE_TAG | sed -E 's/(0|)\.//g')
- sed -i "s/0.123456789/$VERSION/g" sources/AchievementInfoCommon.lua
- sed -i "s/0.123456789/$VERSION/g" sources/AchievementInfo.txt
- sed -i "s/0.123456789/$ADDON_VERSION/g" sources/AchievementInfo.txt
# Rename and zip
- mv sources AchievementInfo
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
when:
event:
- tag
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.f-brinker.de
api_key:
from_secret: gitea_token
files: ./*.zip
title: AchievementInfo ${DRONE_TAG}
note: AchievementInfo/CHANGELOG.md
when:
event:
- tag

查看文件

@ -0,0 +1,55 @@
name: Workflow
run-name: ${{ gitea.actor }} is linting and creating a new release on tag pushes 🚀
on: [push]
jobs:
Linting:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run Luacheck linter
uses: lunarmodules/luacheck@v1
Release:
needs: [Linting]
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only for tags
runs-on: ubuntu-latest
env:
Version: ${{ gitea.ref_name }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
path: sources
- name: Delete unneeded files/dirs
run: |
rm -rf sources/.git
rm -rf sources/.gitea
rm -rf sources/screenshots
rm -f sources/.luacheckrc
- name: Set Version and AddonVersion
run: |
echo "Version: ${{ env.Version }}"
export ADDON_VERSION=$(echo ${{ env.Version }} | sed -E 's/(0|)\.//g')
sed -i "s/0.123456789/${{ env.Version }}/g" sources/AchievementInfoCommon.lua
sed -i "s/0.123456789/${{ env.Version }}/g" sources/AchievementInfo.txt
sed -i "s/0.123456789/$ADDON_VERSION/g" sources/AchievementInfo.txt
- name: Rename and zip
run: |
mv sources AchievementInfo
zip -r "AchievementInfo-${{ env.Version }}.zip" ./AchievementInfo
- name: Create release
id: create_release
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.token }}
name: "AchievementInfo ${{ env.Version }}"
tag_name: "${{ env.Version }}"
body_path: AchievementInfo/CHANGELOG.md
draft: false
prerelease: false
sha256sum: true
files: |-
*.zip

查看文件

@ -17,7 +17,8 @@ read_globals = {
"EVENT_ACHIEVEMENT_UPDATED",
"EVENT_ADD_ON_LOADED",
"EVENT_MANAGER",
"LINK_STYLE_BRACKET",
"LINK_STYLE_BRACKETS",
"zo_callLater",
"zo_strformat",
"ZO_SavedVars",
}

查看文件

@ -5,7 +5,7 @@
## Author: |c87B7CCAsto|r, @Astarax
## Contact: mail@coded-with-heart.com
## APIVersion: 100031
## APIVersion: 101044
## SavedVariables: ACHIEVEMENT_INFO_DB ACHIEVEMENT_INFO_DB_USE_AW
## DependsOn: LibAddonMenu-2.0

查看文件

@ -49,7 +49,7 @@ function AchievementInfo.onAchievementUpdated(_, achId)
local percentageStep = false
local percentageStepSize = AchievementInfo.settingGet("genShowUpdateSteps")
local link = GetAchievementLink(achId, LINK_STYLE_BRACKET)
local link = GetAchievementLink(achId, LINK_STYLE_BRACKETS)
local catName = "/"
if categoryId ~= false then
@ -67,13 +67,18 @@ function AchievementInfo.onAchievementUpdated(_, achId)
tmpOutput = tmpOutput .. ", "
end
tmpOutput = tmpOutput .. description .. " "
tmpOutput = tmpOutput .. zo_strformat("<<1>>", description) .. " "
tmpOutput = tmpOutput .. AchievementInfo.calcCriteriaColor(numCompleted, numRequired) .. numCompleted .. "|r"
tmpOutput = tmpOutput .. AchievementInfo.clrDefault .. "/" .. "|r"
tmpOutput = tmpOutput .. AchievementInfo.clrCriteriaComplete .. numRequired .. "|r"
tmpOutput = tmpOutput .. AchievementInfo.clrDefault
if AchievementInfo.settingGet("genShowOpenDetailsOnly") == true and numCompleted ~= numRequired then
if AchievementInfo.settingGet("genShowOpenDetailsOnly") == true then
if numCompleted ~= numRequired then
detailOutput[detailOutputCount] = tmpOutput
detailOutputCount = detailOutputCount + 1
end
else
detailOutput[detailOutputCount] = tmpOutput
detailOutputCount = detailOutputCount + 1
end

查看文件

@ -35,8 +35,8 @@ LANG_STORE.EN.SettingsOption.AddOnEnabled = "AddOn enabled"
LANG_STORE.EN.SettingsOption.AddOnEnabledTooltip = "Enable or disable this AddOn"
LANG_STORE.EN.SettingsOption.AddOnEnabledWarning = "Only the output messages can be disabled here"
LANG_STORE.EN.SettingsOption.AccountWideEnabled = "Use acctountwide Settings"
LANG_STORE.EN.SettingsOption.AccountWideEnabledTooltip = "Use and save the settings for all of your characters"
LANG_STORE.EN.SettingsOption.AccountWideEnabled = "Use account-wide Settings"
LANG_STORE.EN.SettingsOption.AccountWideEnabledTooltip = "Use and edit the same settings for all characters"
LANG_STORE.EN.SettingsOption.ShowEveryUpdate = "Show every update"
LANG_STORE.EN.SettingsOption.ShowEveryUpdateTooltip = "Shows a message on every status update of an achievement. Otherwise the messages appear only in steps of x%"

查看文件

@ -1,5 +1,14 @@
#### Notable Changes
##### Release 4.15
* Fixed "bracket style" of the achievement links, thanks to DakJaniels
##### Release 4.5
* Fixed "ShowDetails" option working only in combination with "ShowOpenDetailsOnly"
##### Release 4.3
* Fixed an error with gendered achievement descriptions
##### Release 4.0
* Added accountwide settings
* Added an "use accountwide settings" option to the settings of each character

查看文件

@ -1,12 +1,33 @@
# AchievementInfo
[![Build Status](https://drone.f-brinker.de/api/badges/fbrinker/elderscrolls-addon-achievementInfo/status.svg)](https://drone.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo)
[![Latest Releases](https://badgen.net/badge/releases/latest)](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/releases)
[![Version Status](https://monitoring.f-brinker.de/api/badge/18/status?style=plastic&upLabel=Up%20to%20date&downLabel=Outdated)](https://monitoring.f-brinker.de/status/eso)
[![Build Status](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/actions/workflows/build.yaml/badge.svg)](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/actions)
This is an **The Elderscrolls Online** addon. [See all details and the download @ESOUI](http://www.esoui.com/downloads/info350-AchievementInfo.html#info).
[![Latest Releases](https://badgen.net/badge/releases/latest)](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/releases)
[![Downloads](https://badgen.net/https/scripts.f-brinker.de/esoui-stats/badge-total.php?cache=1800)](https://www.esoui.com/downloads/info350-AchievementInfo.html)
[![Favorites](https://badgen.net/https/scripts.f-brinker.de/esoui-stats/badge-fav.php?cache=1800)](https://www.esoui.com/downloads/info350-AchievementInfo.html)
This is a **The Elderscrolls Online** addon. [See all details and the download @ESOUI](http://www.esoui.com/downloads/info350-AchievementInfo.html#info).
[Issue-Tracker](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo/issues)
## Description
### What is this AddOn about?
I like achievements, and I like to know what to do to complete them and what type of achievements exist without browsing through the entire achievement catalog: This AddOn displays lightweight chat notifications if you make progress in an achievement (please see the screenshots).
### Features
* Shows chat notifications if you do something that is needed for an achievement
* Triggers on each action or just in x% steps of the achievement's requirements (configurable)
* Can show some details in the chat notification like (kill 250/1000 Humanoids)
* You can toggle the notifications for each category
* Lightweight: It is not always present and shows up only when necessary
* You can enable account-wide settings
![preview screenshot](screenshots/chat-1.jpg)
## Why is this a public project?
In case I quit or pause playing TESO and cannot maintain this addon, feel free to contribute to keep this up to date and running.
@ -14,9 +35,9 @@ I'll still be available here and be able to update the ESOUI page.
## How to contribute?
**IMPORTANT: Github is a mirror.** Please contribute at [git.f-brinker.de/elderscrolls-addon-achievementInfo](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo) - You can login with your Github or Gitlab account (OAuth2).
**IMPORTANT: Github is a mirror.** Please contribute at [git.f-brinker.de/elderscrolls-addon-achievementInfo](https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo) - You can log in with your Github or Gitlab account (OAuth2).
Then, create a fork of the repository, do what you have to do and create a pull-request afterwards. Feel free to contact me any time.
Then, create a fork of the repository, do what you have to do, and create a pull-request afterward. Feel free to contact me any time.
#### Linting
Luacheck is used to check the LUA code. [Documentation](https://luacheck.readthedocs.io/en/stable/index.html)

二進制
screenshots/chat-1.jpg Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 60 KiB

二進制
screenshots/chat-2.jpg Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 21 KiB

二進制
screenshots/settings.jpg Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 91 KiB