Commit Graph
6 Commits
  • feat: add "Last Online" column to client list and modal (Closes #3402) (#3405)
    * feat: persist client last online and expose API
    
    * feat(ui): show client last online in table and info modal
    
    * i18n: add “Last Online” across locales
    
    * chore: format timestamps as HH:mm:ss
  • Add all-time traffic for inbounds and clients (#3387)
    * feat(db): add allTime field to Inbound and ClientTraffic models
    
    * feat(inbound): increment all_time for inbounds and clients on traffic updates
    
    calculate correct all_time traffic on migrate command
    
    * feat(ui): show all-time traffic column for inbounds and its clients
    
    * i18n: add pages.inbounds.allTimeTraffic label across locales
    
    * Add All Time Traffic Usage in inbounds page top banner
  • Created / Updated fields for clients (#3384)
    * feat(backend): add created_at/updated_at to clients and maintain on create/update
    backfill existing clients and set updated_at on mutations
    
    * feat(frontend): carry created_at/updated_at in client models and round-trip via JSON
    
    * feat(frontend): display Created and Updated columns in client table with proper date formatting
    
    * i18n: add pages.inbounds.createdAt/updatedAt across all locales
    
    * Update inbound.go
    
    Remove duplicate code
  • chore: clients comment improvement
    - use default ant components instead custom styles
    - remove comments in inbound info modal (duplicates information)
    - enhance tooltip usage
  • Code refactoring (#2865)
    * refactor: use vue inline styles in entire application
    
    * refactor: setting row in dashboard page
    
    * refactor: use blob for download file in text modal
    
    * refactor: move all html templates in `web/html` folder
    
    * refactor: `DeviceUtils` -> `MediaQueryMixin`
    The transition to mixins has been made, as they can update themselves.
    
    * chore: pretty right buttons in `outbounds` tab in xray settings
    
    * refactor: add translations for system status
    
    * refactor: adjust gutter spacing in setting list item
    
    * refactor: use native `a-input-password` for password field
    
    * chore: return old system status
    with new translations
    
    * chore: add missing translation