mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2023-03-17 16:23:50
This commit is contained in:
parent
0a88612e98
commit
4b29bcffc4
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=aliyundrive-webdav
|
||||
PKG_VERSION:=2.0.5
|
||||
PKG_VERSION:=2.1.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
|
@ -17,3 +17,4 @@ config server
|
||||
option tls_key ''
|
||||
option skip_upload_same_size '0'
|
||||
option prefer_http_download '0'
|
||||
option redirect '0'
|
||||
|
@ -59,6 +59,13 @@ start_service() {
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
case "$(uci_get_by_type server redirect 0)" in
|
||||
1|on|true|yes|enabled)
|
||||
extra_options="$extra_options --redirect"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
if [[ ! -z "$tls_cert" && ! -z "$tls_key" ]]; then
|
||||
extra_options="$extra_options --tls-cert $tls_cert --tls-key $tls_key"
|
||||
fi
|
||||
|
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-aliyundrive-webdav
|
||||
PKG_VERSION:=2.0.5
|
||||
PKG_VERSION:=2.1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
|
||||
|
||||
|
@ -44,6 +44,10 @@ prefer_http_download = e:option(Flag, "prefer_http_download", translate("Prefer
|
||||
prefer_http_download.description = translate("Prefer downloading files using HTTP instead of HTTPS protocol")
|
||||
prefer_http_download.rmempty = false
|
||||
|
||||
redirect = e:option(Flag, "redirect", translate("Enable 302 Redirect"))
|
||||
redirect.description = translate("Enable 302 redirect when possible")
|
||||
redirect.rmempty = false
|
||||
|
||||
upload_buffer_size = e:option(Value, "upload_buffer_size", translate("Upload Buffer Size"))
|
||||
upload_buffer_size.default = "16777216"
|
||||
upload_buffer_size.datatype = "uinteger"
|
||||
|
@ -96,3 +96,9 @@ msgstr "使用 HTTP 下载"
|
||||
|
||||
msgid "Prefer downloading files using HTTP instead of HTTPS protocol"
|
||||
msgstr "优先使用 HTTP 而不是 HTTPS 协议下载,低端设备上降低 CPU 占用"
|
||||
|
||||
msgid "Enable 302 Redirect"
|
||||
msgstr "启用 302 重定向"
|
||||
|
||||
msgid "Enable 302 redirect when possible"
|
||||
msgstr "在可能的情况下启用 302 重定向"
|
||||
|
@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=Design Theme
|
||||
LUCI_DEPENDS:=
|
||||
PKG_VERSION:=5.4.9
|
||||
PKG_RELEASE:=20230316
|
||||
PKG_VERSION:=5.5.0
|
||||
PKG_RELEASE:=20230317
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
@ -194,8 +194,8 @@ input {
|
||||
font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif;
|
||||
border: var(--inputBorder);
|
||||
background-color: var(--inputbgColor);
|
||||
transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
|
||||
-webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
|
||||
transition: color 100ms ease, border-color 100ms ease, opacity 100ms ease;
|
||||
-webkit-transition: color 100ms ease, border-color 100ms ease, opacity 100ms ease;
|
||||
outline-style: none;
|
||||
vertical-align: middle;
|
||||
border-radius: 8px;
|
||||
@ -284,7 +284,7 @@ header, .main {
|
||||
header {
|
||||
background-color: var(--bgwhite);
|
||||
box-shadow: 17rem 2px 4px rgba(0, 0, 0, 0.08);
|
||||
transition: box-shadow 0.2s;
|
||||
transition: box-shadow 0.1s;
|
||||
height: 55px;
|
||||
float: left;
|
||||
position: fixed;
|
||||
@ -1090,7 +1090,7 @@ img[src*="/luci-static/resources/icons/signal-none.png"]
|
||||
position: fixed;
|
||||
padding-top: 15px;
|
||||
box-shadow: 0 0px 4px rgb(0 0 0 / 8%);
|
||||
transition: visibility 150ms, width 150ms;
|
||||
transition: visibility 100ms, width 100ms;
|
||||
}
|
||||
|
||||
.main-right {
|
||||
@ -1239,7 +1239,7 @@ p#shadowsocksr_status {
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 1.1rem;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1287,10 +1287,10 @@ p#shadowsocksr_status {
|
||||
line-height: 1.6;
|
||||
/* Better Font Rendering =========== */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
transition: all 0.15s ease;
|
||||
transition: all 0.1s ease;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
transition: all 0.3s;
|
||||
transition: all 0.1s;
|
||||
}
|
||||
|
||||
.main .main-left .nav li.slide .menu.active::after {
|
||||
@ -1440,7 +1440,7 @@ p#shadowsocksr_status {
|
||||
.main > .main-left > .nav > .slide > .slide-menu > li:hover {
|
||||
background: var(--activeColor);
|
||||
color:white !important;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
}
|
||||
|
||||
.main > .main-left > .nav > .slide > .slide-menu > .active:hover {
|
||||
@ -1751,7 +1751,7 @@ td#__status-ifc-signal {
|
||||
text-transform: uppercase;
|
||||
color: #fff;
|
||||
background-color: #337ab7;
|
||||
transition: all 0.2s ease-in-out;
|
||||
transition: all 0.1s ease-in-out;
|
||||
display: inline-block;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
|
File diff suppressed because one or more lines are too long
@ -235,7 +235,7 @@
|
||||
end
|
||||
%>
|
||||
<% if ucichanges > 0 then %>
|
||||
<a class="label notice" href="<%=url(category, 'uci/changes')%>?redir=<%=http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/"))%>"><%=translate('Unsaved Changes')%>: <%=ucichanges%></a>
|
||||
<a class="label notice" style="margin-right: 30px;" href="<%=url(category, 'uci/changes')%>?redir=<%=http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/"))%>"><%=translate('Unsaved Changes')%>: <%=ucichanges%></a>
|
||||
<% end %>
|
||||
<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
|
||||
<span class="label success" id="xhr_poll_status_on"><span id="refresh_on" class="mobile-hide"></span></span>
|
||||
@ -244,15 +244,14 @@
|
||||
<script>
|
||||
const pollStatus = document.querySelector('#xhr_poll_status');
|
||||
const notice = document.querySelector('.notice');
|
||||
function updateMarginRight() {
|
||||
function updateMarginRight() {
|
||||
const style = notice.style; // 缓存样式对象
|
||||
if (pollStatus.style.display === '') {
|
||||
notice.style.marginRight = '30px';
|
||||
}
|
||||
if (pollStatus.style.display === 'none') {
|
||||
notice.style.marginRight = '0';
|
||||
}
|
||||
style.setProperty('margin-right', '30px', 'important');
|
||||
} else if (pollStatus.style.display === 'none') {
|
||||
style.setProperty('margin-right', '0', 'important');
|
||||
}
|
||||
}
|
||||
updateMarginRight();
|
||||
const observer = new MutationObserver(function(mutationsList) {
|
||||
for (let mutation of mutationsList) {
|
||||
if (mutation.type === 'attributes' && mutation.attributeName === 'style') {
|
||||
@ -262,6 +261,7 @@
|
||||
});
|
||||
const config = { attributes: true, attributeFilter: ['style'] };
|
||||
observer.observe(pollStatus, config);
|
||||
updateMarginRight();
|
||||
</script>
|
||||
<% end %>
|
||||
</div>
|
||||
|
@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_ARCH_quickstart:=$(ARCH)
|
||||
|
||||
PKG_NAME:=quickstart
|
||||
PKG_VERSION:=0.6.10
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=0.6.11
|
||||
PKG_RELEASE:=1
|
||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://fw.koolcenter.com/binary/quickstart/
|
||||
PKG_HASH:=00cd3d664593a4fe81149e13fc85e89493c6b164ac8b672d73e0dc9c13939b28
|
||||
PKG_HASH:=f6cbc4a8dab3c5e659b45ffda617df94ea81cf5e9e07dbe88183036167b9bfb5
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)
|
||||
|
||||
|
@ -6,12 +6,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sing-box
|
||||
PKG_VERSION:=1.2-beta8
|
||||
PKG_VERSION:=1.1.7
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/SagerNet/sing-box/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=dd2e843cbb9698f32ececd946d5f0a414977bc92f605f50b60f424bf7a5bee56
|
||||
PKG_HASH:=d0c75af7a5b649b5f10af99e845134741dd4ea4147d804c9d0d2a3a552843356
|
||||
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE_FILE:=LICENSE
|
||||
|
@ -21,13 +21,13 @@ define Download/geoip
|
||||
HASH:=30e7bd8478f9ab601b755e46c2a410467640c57fca9926e8ab9e4899e014c862
|
||||
endef
|
||||
|
||||
GEOSITE_VER:=20230316030053
|
||||
GEOSITE_VER:=20230317061858
|
||||
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
|
||||
define Download/geosite
|
||||
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
|
||||
URL_FILE:=dlc.dat
|
||||
FILE:=$(GEOSITE_FILE)
|
||||
HASH:=b226a9424c5d57e860b6aa0fa22f6b289846405b2db2da06961d824aeecc295e
|
||||
HASH:=08601238e6137829c4ca4c15340a18d4bbbfd93392afde4a050659649ef1b591
|
||||
endef
|
||||
|
||||
define Package/v2ray-geodata/template
|
||||
|
Loading…
Reference in New Issue
Block a user