diff --git a/bubble-server/src/main/java/bubble/dao/account/AccountOwnedEntityDAO.java b/bubble-server/src/main/java/bubble/dao/account/AccountOwnedEntityDAO.java index 9abb1b6c..c7fd33f3 100644 --- a/bubble-server/src/main/java/bubble/dao/account/AccountOwnedEntityDAO.java +++ b/bubble-server/src/main/java/bubble/dao/account/AccountOwnedEntityDAO.java @@ -27,6 +27,8 @@ public abstract class AccountOwnedEntityDAO public static final Order PRIORITY_ASC = Order.asc("priority"); public static final Order PRIORITY_DESC = Order.desc("priority"); + public static final Order NAME_ASC = Order.asc("name"); + @Autowired private BubbleConfiguration configuration; @Getter(lazy=true) private final Boolean hasNameField = !HasAccountNoName.class.isAssignableFrom(getFirstTypeParam(getClass())); diff --git a/bubble-server/src/main/java/bubble/dao/app/BubbleAppDAO.java b/bubble-server/src/main/java/bubble/dao/app/BubbleAppDAO.java index 8742e619..fc467ebb 100644 --- a/bubble-server/src/main/java/bubble/dao/app/BubbleAppDAO.java +++ b/bubble-server/src/main/java/bubble/dao/app/BubbleAppDAO.java @@ -2,6 +2,7 @@ package bubble.dao.app; import bubble.dao.account.AccountOwnedTemplateDAO; import bubble.model.app.BubbleApp; +import org.hibernate.criterion.Order; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; @@ -13,6 +14,8 @@ public class BubbleAppDAO extends AccountOwnedTemplateDAO { @Autowired private AppMessageDAO messageDAO; @Autowired private AppDataDAO dataDAO; + @Override public Order getDefaultSortOrder() { return NAME_ASC; } + @Override public void delete(String uuid) { final BubbleApp app = findByUuid(uuid); matcherDAO.delete(matcherDAO.findByApp(app.getUuid())); diff --git a/bubble-server/src/main/resources/models/apps/analytics/bubbleApp_analytics.json b/bubble-server/src/main/resources/models/apps/analytics/bubbleApp_analytics.json index 770505bb..676d5f1e 100644 --- a/bubble-server/src/main/resources/models/apps/analytics/bubbleApp_analytics.json +++ b/bubble-server/src/main/resources/models/apps/analytics/bubbleApp_analytics.json @@ -47,8 +47,8 @@ "AppMessage": [{ "locale": "en_US", "messages": [ - {"name": "name", "value": "Traffic Analytics"}, - {"name": "description", "value": "Traffic analytics for your Bubble. Manage block lists."}, + {"name": "name", "value": "Stoolpidgeon"}, + {"name": "description", "value": "Review recent internet traffic for your devices. Block stuff that looks off."}, {"name": "field.ctime", "value": "When"}, {"name": "field.requestTime", "value": "When"}, {"name": "field.accountName", "value": "Account"}, diff --git a/bubble-server/src/main/resources/models/apps/bubble_block/bubbleApp_bubbleBlock.json b/bubble-server/src/main/resources/models/apps/bubble_block/bubbleApp_bubbleBlock.json index 8eb518a3..cd7cf5e9 100644 --- a/bubble-server/src/main/resources/models/apps/bubble_block/bubbleApp_bubbleBlock.json +++ b/bubble-server/src/main/resources/models/apps/bubble_block/bubbleApp_bubbleBlock.json @@ -1,6 +1,6 @@ [{ "name": "BubbleBlock", - "description": "Adware and Malware Blocker", + "description": "Block Adware, Malware and More", "url": "https://bubblev.com/apps/bblock", "template": true, "enabled": true, @@ -46,7 +46,7 @@ {"name": "disableList", "when": "item.enabled", "index": 20}, {"name": "manageList", "view": "manageList", "index": 30}, {"name": "manageRules", "view": "manageRules", "when": "item.url === ''", "index": 40}, - {"name": "removeList", "index": 50}, + {"name": "removeList", "index": 50, "when": "item.url !==''"}, { "name": "createList", "scope": "app", "view": "manageList", "index": 10, "params": ["url"], @@ -56,7 +56,7 @@ "name": "testUrl", "scope": "app", "index": 20, "params": ["testUrl", "testUrlPrimary"], "button": "testUrl", - "successMessage": "response.decisionType" + "successMessage": "decisionType" } ] }, { @@ -131,8 +131,8 @@ "AppMessage": [{ "locale": "en_US", "messages": [ - {"name": "name", "value": "Bubble Filter"}, - {"name": "description", "value": "Network Filter: Blocks adware, malware, phishing/scam sites, and much more"}, + {"name": "name", "value": "BlockParty!"}, + {"name": "description", "value": "Block adware, malware, phishing/scam sites, and much more"}, {"name": "field.ctime", "value": "When"}, {"name": "field.fqdn", "value": "URL"}, {"name": "field.device", "value": "Device"}, @@ -167,12 +167,12 @@ {"name": "config.action.enableList", "value": "Enable"}, {"name": "config.action.disableList", "value": "Disable"}, - {"name": "config.action.manageList", "value": "Manage List"}, - {"name": "config.action.removeList", "value": "Remove List"}, - {"name": "config.action.createList", "value": "Add New List"}, + {"name": "config.action.manageList", "value": "Edit"}, + {"name": "config.action.removeList", "value": "Remove"}, + {"name": "config.action.createList", "value": "Add New"}, {"name": "config.button.createList", "value": "Add"}, - {"name": "config.action.updateList", "value": "Update List"}, - {"name": "config.action.manageRules", "value": "Manage Rules"}, + {"name": "config.action.updateList", "value": "Update"}, + {"name": "config.action.manageRules", "value": "Rules"}, {"name": "config.action.removeRule", "value": "Remove Rule"}, {"name": "config.action.createRule", "value": "Add New Rule"}, {"name": "config.button.createRule", "value": "Add"}, diff --git a/bubble-server/src/main/resources/models/apps/user_block/bubbleApp_userBlock.json b/bubble-server/src/main/resources/models/apps/user_block/bubbleApp_userBlock.json index 302bc61d..b282501a 100644 --- a/bubble-server/src/main/resources/models/apps/user_block/bubbleApp_userBlock.json +++ b/bubble-server/src/main/resources/models/apps/user_block/bubbleApp_userBlock.json @@ -1,6 +1,6 @@ [{ "name": "UserBlocker", - "description": "UserBlocker App for Bubble", + "description": "ShadowBan User Blocker", "url": "https://bubblev.com/apps/UserBlocker", "template": true, "dataConfig": { @@ -22,7 +22,7 @@ "AppMessage": [{ "locale": "en_US", "messages": [ - {"name": "name", "value": "User Blocker"}, + {"name": "name", "value": "ShadowBan"}, {"name": "description", "value": "Throw the garbage to the curb!"}, {"name": "view.blocked_users", "value": "Manage Blocked Users"}, {"name": "field.key", "value": "Username"}, diff --git a/bubble-web b/bubble-web index e25dbdfc..47b7bc1d 160000 --- a/bubble-web +++ b/bubble-web @@ -1 +1 @@ -Subproject commit e25dbdfc8a4d6e617b17a4e5347d0cd143425576 +Subproject commit 47b7bc1d0500c5fc429acda124b0d16aa95d1f89